mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-22 05:03:16 +02:00
Update Travis CI config.
Only run `coveralls` and `check-broken-links` tasks when we run the Test phase.
This commit is contained in:
@@ -10,9 +10,9 @@ install:
|
|||||||
- npm install
|
- npm install
|
||||||
script:
|
script:
|
||||||
- npm test
|
- 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:
|
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:
|
stages:
|
||||||
- test
|
- test
|
||||||
- name: browser
|
- name: browser
|
||||||
|
Reference in New Issue
Block a user