Debugging failing Travis script

This commit is contained in:
Nanne Baars
2017-11-16 05:56:13 +01:00
parent c06e4d462b
commit 971f11534d
2 changed files with 2 additions and 2 deletions

View File

@ -7,8 +7,7 @@ install: "/bin/true"
script:
- export BRANCH=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then echo $TRAVIS_BRANCH; else echo $TRAVIS_PULL_REQUEST_BRANCH; fi)
- echo "TRAVIS_BRANCH=$TRAVIS_BRANCH, PR=$PR, BRANCH=$BRANCH"
- if [ ! -z "${TRAVIS_TAG}" ]; then mvn versions:set -DnewVersion=${TRAVIS_TAG}; fi
- mvn clean install -q
- if [ ! -z "${TRAVIS_TAG}" ]; then mvn versions:set -DnewVersion=${TRAVIS_TAG} clean install; else mvn clean install -q; fi
cache:
directories:
- "$HOME/.m2"