Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2018-11-05 19:56:07 +0300
committerXhmikosR <xhmikosr@gmail.com>2018-11-05 22:35:59 +0300
commitea697555d590fee5f565d8335620e823347c0b56 (patch)
tree83164039dc7ea50fa1cf2166981d1b7e416d373a /.travis.yml
parent6e10ac276ee60eeb1780d1d33903af37059180c7 (diff)
Travis: exit pipeline if test fails.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index b248bf1ffa..868f602bd8 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -9,7 +9,7 @@ install:
- bundle install --deployment --jobs=3 --retry=3 --clean
- npm install
script:
- - npm test
+ - npm test || travis_terminate 1
- if [[ "$TRAVIS_NODE_VERSION" = "8" ]]; then npm run check-broken-links; fi
- if [[ "$TRAVIS_NODE_VERSION" = "8" && "$TRAVIS_EVENT_TYPE" = "push" && ! `git log --format=%B --no-merges -n 1 | grep '\[skip browser\]'` ]]; then npm run js-test-cloud; fi
after_success: