diff options
author | XhmikosR <xhmikosr@gmail.com> | 2018-10-21 12:18:20 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2018-10-29 17:04:22 +0300 |
commit | 5e6b53a7c012be9bcef5b2c5edc7b3cdafc102a7 (patch) | |
tree | e519900d4318c8dd6716ca65325b3d533e1bb2c6 /.travis.yml | |
parent | 2868f07240874ee2fcd48cc5afc218f6f9331c68 (diff) |
Update Travis CI config.
Only run `coveralls` and `check-broken-links` tasks when we run the Test phase.
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 4 |
1 files 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 |