Skip to content

Commit

Permalink
Chrome Travis config
Browse files Browse the repository at this point in the history
  • Loading branch information
stonelasley committed Jun 15, 2017
1 parent 1f49197 commit e3a597b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions config/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ module.exports = function(config) {
lib: ["es2016", "dom"]
}
},
customLaunchers: {
Chrome_travis_ci: {
base: 'Chrome',
flags: ['--no-sandbox']
}
},
coverageReporter: {
dir: '../coverage/',
reporters: [{
Expand All @@ -28,4 +34,9 @@ module.exports = function(config) {
}]
}
});
if (process.env.TRAVIS) {
cfg.browsers = ['Chrome_travis_ci'];
}

config.set(cfg);
};

0 comments on commit e3a597b

Please sign in to comment.