Skip to content
This repository was archived by the owner on Feb 26, 2021. It is now read-only.

Commit 604a62a

Browse files
authored
Merge pull request #61 from secureCodeBox/feature/immediately-fail-build-if-error
Feature/immediately fail build if error
2 parents 8dce763 + 7097f66 commit 604a62a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ cache:
88
- "$HOME/.m2"
99
install: true
1010
script:
11+
- set -e
1112
- echo -en "travis_fold:start:Test\r"
1213
- mvn install -Pdependency-check
1314
- echo -en "travis_fold:end:Test\r"
@@ -17,6 +18,7 @@ script:
1718
- docker build -t $REPO:$TAG --build-arg="BUILD_DATE=$(date --rfc-3339=seconds)" --build-arg=VERSION=$TRAVIS_TAG --build-arg=COMMIT_ID=$TRAVIS_COMMIT --build-arg=BRANCH=$TRAVIS_BRANCH --build-arg=REPOSITORY_URL="https://github.com/secureCodeBox/engine" .
1819
- echo -en "travis_fold:end:Docker_Build\r"
1920
- docker images
21+
- set +e
2022

2123
deploy:
2224
- provider: script

0 commit comments

Comments
 (0)