Skip to content

Commit

Permalink
Merge pull request #48 from Turbo87/fix-ci
Browse files Browse the repository at this point in the history
testem: Use `--no-sandbox` on TravisCI
  • Loading branch information
marcoow authored Jan 30, 2018
2 parents 71224f2 + f28b85b commit db62cf4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion testem.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,13 @@ module.exports = {
],
browser_args: {
Chrome: [
// --no-sandbox is needed when running Chrome inside a container
process.env.TRAVIS ? '--no-sandbox' : null,

'--disable-gpu',
'--headless',
'--remote-debugging-port=9222',
'--window-size=1440,900'
]
].filter(Boolean)
}
};

0 comments on commit db62cf4

Please sign in to comment.