From: XhmikosR Date: Sun, 21 Oct 2018 09:18:20 +0000 (+0300) Subject: Update Travis CI config. X-Git-Tag: v4.2.0~180 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5e6b53a7c012be9bcef5b2c5edc7b3cdafc102a7;p=thirdparty%2Fbootstrap.git Update Travis CI config. Only run `coveralls` and `check-broken-links` tasks when we run the Test phase. --- 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