Added 'set -e' to test scripts to exit correctly

This commit is contained in:
Rsl1122 2019-01-04 17:18:35 +02:00
parent 7621167407
commit ea187fadfc
3 changed files with 3 additions and 0 deletions

View File

@ -1,3 +1,4 @@
set -e
cd $TRAVIS_BUILD_DIR/Plan
gradle checkstyleMain
gradle checkstyleTest

View File

@ -1,3 +1,4 @@
set -e
cd $TRAVIS_BUILD_DIR/Plan
gradle test --info
cd $HOME

View File

@ -1,3 +1,4 @@
set -e
cd $TRAVIS_BUILD_DIR/Plan
if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then
gradle sonarqube