From ea697555d590fee5f565d8335620e823347c0b56 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Mon, 5 Nov 2018 18:56:07 +0200 Subject: [PATCH] Travis: exit pipeline if test fails. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: