Skip to content

Commit

Permalink
testem: Use --no-sandbox on TravisCI (#154)
Browse files Browse the repository at this point in the history
* Revert "set sudo:required for travis builds"

This reverts commit aa3a0f5.

* testem: Use `--no-sandbox` on TravisCI
  • Loading branch information
Turbo87 authored and marcoow committed Jan 22, 2018
1 parent ac6852f commit 448dddc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ node_js:
- "6"
- "4"

sudo: required
dist: trusty

addons:
Expand Down
5 changes: 4 additions & 1 deletion testem.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,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,

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

0 comments on commit 448dddc

Please sign in to comment.