Fix travis build, part 3 (refs #376)

This commit is contained in:
Andreas Dangel
2017-05-20 09:59:30 +02:00
parent 8ef25e839c
commit 64eac02bbd
3 changed files with 4 additions and 4 deletions

View File

@@ -6,7 +6,7 @@ source .travis/common-functions.sh
VERSION=$(./mvnw -q -Dexec.executable="echo" -Dexec.args='${project.version}' --non-recursive org.codehaus.mojo:exec-maven-plugin:1.5.0:exec | tail -1)
echo "Building PMD Sonar ${VERSION} on branch ${TRAVIS_BRANCH}"
if [ ! travis_isPush() ]; then
if [ ! travis_isPush ]; then
echo "Not updating sonar, since this is not a push!"
exit 0
fi