From: Johann-S Date: Fri, 14 Sep 2018 20:31:06 +0000 (+0200) Subject: speed up browser tests X-Git-Tag: v4.2.0~322 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8cd485fcc8b22fae6904626c55e8c36d92dbd260;p=thirdparty%2Fbootstrap.git speed up browser tests --- 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",