aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2018-10-21 12:18:20 +0300
committerXhmikosR <[email protected]>2018-10-29 16:04:22 +0200
commit5e6b53a7c012be9bcef5b2c5edc7b3cdafc102a7 (patch)
treee519900d4318c8dd6716ca65325b3d533e1bb2c6
parent2868f07240874ee2fcd48cc5afc218f6f9331c68 (diff)
downloadbootstrap-5e6b53a7c012be9bcef5b2c5edc7b3cdafc102a7.tar.xz
bootstrap-5e6b53a7c012be9bcef5b2c5edc7b3cdafc102a7.zip
Update Travis CI config.
Only run `coveralls` and `check-broken-links` tasks when we run the Test phase.
-rw-r--r--.travis.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 8b577c630..451a79d11 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -10,9 +10,9 @@ install:
- npm install
script:
- npm test
- - if [ "$TRAVIS_NODE_VERSION" = "8" ]; then npm run check-broken-links; fi
+ - if [[ "$TRAVIS_NODE_VERSION" = "8" && "$TRAVIS_BUILD_STAGE_NAME" = "Test" ]]; then npm run check-broken-links; fi
after_success:
- - if [ "$TRAVIS_NODE_VERSION" = "8" ]; then npm run coveralls; fi
+ - if [[ "$TRAVIS_NODE_VERSION" = "8" && "$TRAVIS_BUILD_STAGE_NAME" = "Test" ]]; then npm run coveralls; fi
stages:
- test
- name: browser