aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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