Skip to content

Commit

Permalink
Merge pull request #1523 from Turbo87/no-sandbox
Browse files Browse the repository at this point in the history
testem: Use `--no-sandbox` on TravisCI
  • Loading branch information
Turbo87 authored Jan 22, 2018
2 parents 61c0078 + 37bfd79 commit e97a783
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 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
7 changes: 6 additions & 1 deletion testem.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* eslint-env node */

module.exports = {
framework: 'mocha',
test_page: 'tests/index.html?hidepassed',
Expand All @@ -12,11 +14,14 @@ module.exports = {
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'
]
].filter(Boolean)
},
}
};

0 comments on commit e97a783

Please sign in to comment.