diff options
author | Johann-S <johann.servoire@gmail.com> | 2018-09-14 23:31:06 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2018-09-15 08:50:13 +0300 |
commit | 8cd485fcc8b22fae6904626c55e8c36d92dbd260 (patch) | |
tree | 8b09cdde2a5293f32aa578d0e5786858cc7a4579 | |
parent | 0b97d1b0c43c42043cd4e97fe303ba08eb4b2b49 (diff) |
speed up browser tests
-rw-r--r-- | .travis.yml | 2 | ||||
-rw-r--r-- | package.json | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index c3a6b02ca1..d4a73d0264 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,7 +26,7 @@ jobs: include: - stage: browser node_js: 8 - script: if ! git log --format=%B --no-merges -n 1 | grep '\[skip browser\]'; then npm test && npm run js-test-cloud; fi + script: if ! git log --format=%B --no-merges -n 1 | grep '\[skip browser\]'; then npm run js-test-cloud; fi cache: directories: - node_modules diff --git a/package.json b/package.json index c429646e7c..d9918cbc1d 100644 --- a/package.json +++ b/package.json @@ -55,6 +55,7 @@ "js-test-karma-old": "cross-env USE_OLD_JQUERY=true npm run js-test-karma", "js-test-karma-bundle": "cross-env BUNDLE=true npm run js-test-karma", "js-test-karma-bundle-old": "cross-env BUNDLE=true USE_OLD_JQUERY=true npm run js-test-karma", + "prejs-test-cloud": "npm run js-compile && npm run js-test-karma", "js-test-cloud": "cross-env BROWSER=true npm run js-test-karma", "coveralls": "shx cat js/coverage/lcov.info | coveralls", "docs": "npm-run-all --parallel css-docs js-docs --sequential docs-compile docs-lint", |