Should fail the build if acceptance tests fail at any time

This commit is contained in:
Marcin Grzejszczak
2015-12-08 20:14:18 +01:00
parent e12278a7c8
commit 788ca6c6e7
2 changed files with 2 additions and 2 deletions

View File

@@ -20,7 +20,7 @@ install:
script:
- '[ "${TRAVIS_PULL_REQUEST}" != "false" ] || ./mvnw --settings .settings.xml clean deploy -nsu'
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] || ./mvnw clean install -nsu'
- sh scripts/runAcceptanceTests.sh
- sh -e scripts/runAcceptanceTests.sh
env:
global:
- GIT_NAME="Spencer Gibb"

View File

@@ -28,7 +28,7 @@ done
if [ "$success" = true ] ; then
echo "Successfully booted up all the apps. Proceeding with the acceptance tests"
sh -e runAcceptanceTests.sh -Dspring.zipkin.enabled=false -Dspring.cloud.zookeeper.maxRetries=5 -Dpresenting.url=$url:9091
bash -e runAcceptanceTests.sh -Dspring.zipkin.enabled=false -Dspring.cloud.zookeeper.maxRetries=5 -Dpresenting.url=$url:9091
else
echo "Failed to boot the apps. Will now kill the containers and remove them"
fi