abort travis after script fail, to be able to find cause of failure

This commit is contained in:
Marie Verdonck
2020-07-28 17:49:10 +02:00
parent 26905860ba
commit 4338250d8d

View File

@@ -51,10 +51,10 @@ before_script:
script: script:
# build app and run all tests # build app and run all tests
- ng lint - ng lint || travis_terminate 1;
- travis_wait yarn run build:prod - travis_wait yarn run build:prod || travis_terminate 1;
- yarn test:headless - yarn test:headless || travis_terminate 1;
- yarn run e2e:ci - yarn run e2e:ci || travis_terminate 1;
after_script: after_script:
# Shutdown docker after everything runs # Shutdown docker after everything runs