Skip to content

Commit

Permalink
Better approach for Meltdown mitigation Chrome handling.
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskrycho committed Jan 24, 2018
1 parent a666892 commit 0b4b4fe
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ language: node_js
node_js:
- "6"

sudo: required
sudo: false
dist: trusty

addons:
Expand Down
23 changes: 13 additions & 10 deletions testem.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,24 @@
module.exports = {
test_page: 'tests/index.html?hidepassed',
disable_watching: true,
launch_in_ci: [
'Chrome'
],
launch_in_dev: [
'Chrome'
],
launch_in_ci: ['Chrome'],
launch_in_dev: ['Chrome'],
browser_args: {
Chrome: {
mode: 'ci',
// prettier-disable -- args are useful to have in a sane order
args: [
'--disable-gpu',
'--headless',
'--remote-debugging-port=0',
'--window-size=1440,900'
]
}
}
'--window-size=1440,900',
].concat(
/*
--no-sandbox is needed when running Chrome inside a container.
See https://github.com/ember-cli/ember-cli-chai/pull/45/files.
*/
process.env.TRAVIS ? '--no-sandbox' : []
),
},
},
};

0 comments on commit 0b4b4fe

Please sign in to comment.