mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-12-26 17:30:40 +01:00
Run Firefox in Karma on Travis
This commit is contained in:
parent
c411294f01
commit
e0206eeef4
2 changed files with 8 additions and 2 deletions
|
@ -2,9 +2,14 @@ var webpackConfig = require('./webpack.config.js');
|
|||
|
||||
// Karma configuration
|
||||
module.exports = function(config) {
|
||||
var browsers = ['Chrome'];
|
||||
if (process.env.TRAVIS) {
|
||||
browsers = ['Firefox'];
|
||||
}
|
||||
|
||||
config.set({
|
||||
browsers: [ 'Chrome' ], //run in Chrome
|
||||
frameworks: [ 'mocha' ], //use the mocha test framework
|
||||
browsers: browsers,
|
||||
frameworks: ['mocha'],
|
||||
// ... normal karma configuration
|
||||
files: [
|
||||
// all files ending in "_test"
|
||||
|
|
|
@ -89,6 +89,7 @@
|
|||
"json-loader": "^0.5.4",
|
||||
"karma": "^1.3.0",
|
||||
"karma-chrome-launcher": "^2.0.0",
|
||||
"karma-firefox-launcher": "^1.0.0",
|
||||
"karma-mocha": "^1.3.0",
|
||||
"karma-webpack": "^1.8.0",
|
||||
"mocha": "^3.1.2",
|
||||
|
|
Loading…
Reference in a new issue