diff options
author | tomverin <thomas.verin@sonarsource.com> | 2015-06-23 10:59:22 +0200 |
---|---|---|
committer | tomverin <thomas.verin@sonarsource.com> | 2015-06-23 10:59:22 +0200 |
commit | 551a31eeb0651fb6200bb4edfa189531439df54f (patch) | |
tree | af66e853c87056b23c37d2f349ac9e59518e8bdc /travis.sh | |
parent | e5a7b62cb7ceef25cf656d9423e4a4b46fec8afa (diff) | |
download | sonarqube-551a31eeb0651fb6200bb4edfa189531439df54f.tar.gz sonarqube-551a31eeb0651fb6200bb4edfa189531439df54f.zip |
Travis PR analysis was lacking the build
Diffstat (limited to 'travis.sh')
-rwxr-xr-x | travis.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/travis.sh b/travis.sh index 3b8da5995a4..63fbf965e3b 100755 --- a/travis.sh +++ b/travis.sh @@ -35,7 +35,8 @@ PRANALYSIS) if [ -n "$SONAR_GITHUB_OAUTH" ] && [ "${TRAVIS_PULL_REQUEST}" != "false" ] then echo "Start pullrequest analysis" - mvn sonar:sonar \ + mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent verify -B -e -V -Dmaven.test.failure.ignore=true -Dclirr=true \ + sonar:sonar \ -Dsonar.analysis.mode=preview \ -Dsonar.github.pullRequest=$TRAVIS_PULL_REQUEST \ -Dsonar.github.repository=$SONAR_GITHUB_REPOSITORY \ |