Skip to content

Commit

Permalink
Merge pull request #440 from Kitware/fix-travis
Browse files Browse the repository at this point in the history
chore(travis): Try to fix chrome headless issue
  • Loading branch information
jourdain authored Nov 30, 2017
2 parents 2779ac0 + 3be11a3 commit 888b445
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,12 @@ module.exports = function init(config) {
useIframe: true,
},

customLaunchers: {
ChromeHeadlessNoSandbox: {
base: 'ChromeHeadless',
flags: ['--no-sandbox'],
},
},
// browserNoActivityTimeout: 600000,
// browserDisconnectTimeout: 600000,

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"build:debug": "webpack --progress --colors --display-modules",
"build:release": "npm run build -- -p",
"test": "karma start ./karma.conf.js",
"test:travis": "karma start ./karma.conf.js --browsers ChromeHeadless --single-run",
"test:travis": "karma start ./karma.conf.js --browsers ChromeHeadlessNoSandbox --single-run",
"test:debug": "karma start ./karma.conf.js --no-single-run",
"commit": "git cz",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
Expand Down

0 comments on commit 888b445

Please sign in to comment.