Skip to content

Commit

Permalink
Merge pull request #95 from Esri/firefox
Browse files Browse the repository at this point in the history
have travis target headless firefox too
  • Loading branch information
patrickarlt authored Dec 28, 2017
2 parents 46fc03c + 7b1d163 commit 28a3cca
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ before_script:
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
script:
- npm run test:coverage
- npm run test:all
deploy:
provider: pages
skip_cleanup: true
Expand All @@ -27,5 +27,8 @@ deploy:
target_branch: gh-pages # default
before_deploy:
- npm run docs:build
env:
- MOZ_HEADLESS=1
addons:
chrome: stable
firefox: latest
2 changes: 1 addition & 1 deletion karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ module.exports = function(config) {
type: 'lcov',
dir: 'coverage/'
},

// preprocess matching files before serving them to the browser
// available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
preprocessors: {
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,10 @@
"test": "npm run test:node && npm run test:chrome",
"test:chrome:debug": "karma start --auto-watch --no-single-run --browsers=Chrome",
"test:chrome": "karma start --single-run --browsers=Chrome",
"test:firefox": "karma start --single-run --browsers=Firefox",
"test:node": "jasmine --config=jasmine.json",
"test:node:debug": "inspect jasmine --config=jasmine.json",
"test:coverage": "npm run test:node && karma start --browsers=Chrome --single-run --reporter=coveralls",
"test:all": "npm run test:node && npm run test:firefox && npm run test:chrome",
"docs:build": "rimraf docs/build && npm run docs:typedoc && npm run docs:build:acetate && npm run docs:build:sass && npm run docs:build:images",
"docs:build:acetate": "ENV=prod acetate build --config docs/acetate.config.js",
"docs:build:sass": "node-sass --output docs/build/css --source-map true --source-map-contents docs/src/sass",
Expand Down

0 comments on commit 28a3cca

Please sign in to comment.