From 5e6b53a7c012be9bcef5b2c5edc7b3cdafc102a7 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Sun, 21 Oct 2018 12:18:20 +0300 Subject: [PATCH] Update Travis CI config. Only run `coveralls` and `check-broken-links` tasks when we run the Test phase. --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8b577c6300..451a79d117 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