aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2018-05-23 11:27:36 +0300
committerXhmikosR <[email protected]>2018-05-23 13:54:51 +0300
commitc2b13b9c7851d62d3072989552a784e6c598580b (patch)
treea5c0bfbacca3a32af1e385f5682a9e63c5238ef2
parentd557215b5db640ec071c0e83e59f0230224f7547 (diff)
downloadbootstrap-c2b13b9c7851d62d3072989552a784e6c598580b.tar.xz
bootstrap-c2b13b9c7851d62d3072989552a784e6c598580b.zip
Run coveralls only on Travis and only once.
-rw-r--r--.travis.yml1
-rw-r--r--package.json2
2 files changed, 2 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index bc1694516..ce35ec847 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -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
diff --git a/package.json b/package.json
index de20bfffb..f96d3bf24 100644
--- a/package.json
+++ b/package.json
@@ -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\""