]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Run coveralls only on Travis and only once.
authorXhmikosR <xhmikosr@gmail.com>
Wed, 23 May 2018 08:27:36 +0000 (11:27 +0300)
committerXhmikosR <xhmikosr@gmail.com>
Wed, 23 May 2018 10:54:51 +0000 (13:54 +0300)
.travis.yml
package.json

index bc16945169a105ee291c9a6081db679af30e6419..ce35ec847aaaab95330de5b3d940eb3111750edc 100644 (file)
@@ -15,6 +15,7 @@ install:
   - npm install
 after_success:
   - if [ "$TRAVIS_REPO_SLUG" = twbs-savage/bootstrap ]; then npm run docs-upload-preview; fi
+  - if [ "$TRAVIS_NODE_VERSION" = "8" ]; then npm run coveralls; fi
 stages:
   - test
   - name: browser
index de20bfffb2e381365a7a1385a96efdd47c4474d1..f96d3bf248c612935f65431cf7ea7a5b3f17ad74 100644 (file)
@@ -67,7 +67,7 @@
     "release-version": "node build/change-version.js",
     "release-zip": "cd dist/ && zip -r9 bootstrap-$npm_package_version-dist.zip * && shx mv bootstrap-$npm_package_version-dist.zip ..",
     "dist": "npm-run-all --parallel css js",
-    "test": "npm-run-all dist js-test docs-compile docs-lint bundlesize coveralls",
+    "test": "npm-run-all dist js-test docs-compile docs-lint bundlesize",
     "watch": "npm-run-all --parallel watch-css watch-js",
     "watch-css": "nodemon --ignore js/ --ignore dist/ -e scss -x \"npm run css\"",
     "watch-js": "nodemon --ignore scss/ --ignore js/dist/ --ignore dist/ -e js -x \"npm run js-compile\""