17 lines
458 B
Bash
17 lines
458 B
Bash
|
#!/bin/bash
|
||
|
set -e
|
||
|
|
||
|
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 Coveralls.io report ${VERSION} on branch ${TRAVIS_BRANCH}"
|
||
|
|
||
|
if ! travis_isPush; then
|
||
|
echo "Not proceeding, since this is not a push!"
|
||
|
exit 0
|
||
|
fi
|
||
|
|
||
|
|
||
|
travis_wait ./mvnw -q clean test jacoco:report coveralls:report -Pcoveralls
|
||
|
|