Skip to content
This repository has been archived by the owner on Jun 17, 2021. It is now read-only.

Commit

Permalink
Use --no-sandbox on TravisCI 🔨
Browse files Browse the repository at this point in the history
Related to use of Headless Chrome, see ember-cli/ember-cli#7566.
  • Loading branch information
dunnkers committed Jan 22, 2018
1 parent d792ae1 commit 9194200
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions testem.js
Expand Up @@ -3,19 +3,23 @@ module.exports = {
test_page: 'tests/index.html?hidepassed',
disable_watching: true,
launch_in_ci: [
'PhantomJS',
'Chrome'
],
launch_in_dev: [
'PhantomJS',
'Chrome'
],
browser_args: {
Chrome: [
'--disable-gpu',
'--headless',
'--remote-debugging-port=9222',
'--window-size=1440,900'
]
Chrome: {
mode: 'ci',
args: [
// --no-sandbox is needed when running Chrome inside a container
process.env.TRAVIS ? '--no-sandbox' : null,

'--disable-gpu',
'--headless',
'--remote-debugging-port=0',
'--window-size=1440,900'
]
},
}
};

0 comments on commit 9194200

Please sign in to comment.