aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2018-11-05 18:56:07 +0200
committerXhmikosR <[email protected]>2018-11-05 21:35:59 +0200
commitea697555d590fee5f565d8335620e823347c0b56 (patch)
tree83164039dc7ea50fa1cf2166981d1b7e416d373a
parent6e10ac276ee60eeb1780d1d33903af37059180c7 (diff)
downloadbootstrap-ea697555d590fee5f565d8335620e823347c0b56.tar.xz
bootstrap-ea697555d590fee5f565d8335620e823347c0b56.zip
Travis: exit pipeline if test fails.
-rw-r--r--.travis.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index b248bf1ff..868f602bd 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: