Skip to content

Instantly share code, notes, and snippets.

@ifedyukin
Created March 27, 2017 15:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ifedyukin/696145bbd7d2ba56378a387644576c70 to your computer and use it in GitHub Desktop.
Save ifedyukin/696145bbd7d2ba56378a387644576c70 to your computer and use it in GitHub Desktop.
module.exports = function (config) {
var configuration = {
// configs
browsers: ['Chrome'],
customLaunchers: {
Chrome_travis_ci: {
base: 'Chrome',
flags: ['--no-sandbox']
}
},
// configs
};
if (process.env.TRAVIS) {
configuration.browsers = ['Chrome_travis_ci'];
}
config.set(configuration);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment