Travis: exit pipeline if test fails.

This commit is contained in:
XhmikosR 2018-11-05 18:56:07 +02:00
parent 6e10ac276e
commit ea697555d5
1 changed files with 1 additions and 1 deletions

View 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: