]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Travis: exit pipeline if test fails.
authorXhmikosR <xhmikosr@gmail.com>
Mon, 5 Nov 2018 16:56:07 +0000 (18:56 +0200)
committerXhmikosR <xhmikosr@gmail.com>
Mon, 5 Nov 2018 19:35:59 +0000 (21:35 +0200)
.travis.yml

index b248bf1ffadc1405abf35b2aa68b39370e378aba..868f602bd8720bd550fda0ab1bcc4a2eeb4906dc 100644 (file)
@@ -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: