Skip to content

Commit

Permalink
ci: test on latest firefox (#276)
Browse files Browse the repository at this point in the history
* add browserslist module
* test on latest firefox as well
  • Loading branch information
thijstriemstra committed Sep 3, 2018
1 parent e372d25 commit 37e964f
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 26 deletions.
4 changes: 1 addition & 3 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"presets": [
["@babel/preset-env", {
"targets": {
"browsers": ["last 3 versions"]
},
"targets": "last 2 version",
"debug": false,
"modules": "commonjs"
}]
Expand Down
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ sudo: false
dist: trusty
addons:
chrome: stable
firefox: latest
language: node_js
node_js:
- node
Expand Down
3 changes: 1 addition & 2 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,7 @@ module.exports = function(config) {
};

if (ci) {
// only chrome
configuration.browsers = ['Chrome_dev'];
configuration.browsers = ['Chrome_dev', 'Firefox_dev'];
configuration.singleRun = true;
configuration.detectBrowsers.enabled = false;

Expand Down
53 changes: 32 additions & 21 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-istanbul": "^5.0.1",
"blueimp-file-upload": ">=9.19.1",
"browserslist": "^4.1.0",
"colors": "^1.3.2",
"copy-webpack-plugin": "^4.5.2",
"css-loader": "^1.0.0",
Expand Down

0 comments on commit 37e964f

Please sign in to comment.