mirror of https://github.com/ColorlibHQ/gentelella
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
471 B
25 lines
471 B
module.exports = function(config) { |
|
var configuration = { |
|
browsers: ['Firefox'], |
|
customLaunchers: { |
|
Chrome_travis_ci: { |
|
base: 'Chrome', |
|
flags: ['--no-sandbox'] |
|
} |
|
}, |
|
frameworks: ['browserify', 'jasmine'], |
|
reporters: ['progress', 'html'], |
|
preprocessors: { |
|
'src/**/*.js': ['browserify'] |
|
}, |
|
browserify: { |
|
debug: true |
|
} |
|
}; |
|
|
|
if (process.env.TRAVIS) { |
|
configuration.browsers.push('Chrome_travis_ci'); |
|
} |
|
|
|
config.set(configuration); |
|
}; |