mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-03-27 01:30:24 +00:00
Update Travis CI config.
Only run `coveralls` and `check-broken-links` tasks when we run the Test phase.
This commit is contained in:
parent
2868f07240
commit
5e6b53a7c0
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue