aboutsummaryrefslogtreecommitdiffstats
path: root/travis.sh
diff options
context:
space:
mode:
authortomverin <thomas.verin@sonarsource.com>2015-06-23 11:00:55 +0200
committertomverin <thomas.verin@sonarsource.com>2015-06-23 11:00:55 +0200
commit79941ea90ff8cae7c9c5268b3d9b035a3930b510 (patch)
treebd43c52a8c5997b133946984baaa66f91645181b /travis.sh
parent551a31eeb0651fb6200bb4edfa189531439df54f (diff)
downloadsonarqube-79941ea90ff8cae7c9c5268b3d9b035a3930b510.tar.gz
sonarqube-79941ea90ff8cae7c9c5268b3d9b035a3930b510.zip
reorder mvn command for travis PR analysis
Diffstat (limited to 'travis.sh')
-rwxr-xr-xtravis.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/travis.sh b/travis.sh
index 63fbf965e3b..49bcd70c4e5 100755
--- a/travis.sh
+++ b/travis.sh
@@ -35,8 +35,7 @@ PRANALYSIS)
if [ -n "$SONAR_GITHUB_OAUTH" ] && [ "${TRAVIS_PULL_REQUEST}" != "false" ]
then
echo "Start pullrequest analysis"
- mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent verify -B -e -V -Dmaven.test.failure.ignore=true -Dclirr=true \
- sonar:sonar \
+ mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent verify sonar:sonar -B -e -V -Dmaven.test.failure.ignore=true -Dclirr=true \
-Dsonar.analysis.mode=preview \
-Dsonar.github.pullRequest=$TRAVIS_PULL_REQUEST \
-Dsonar.github.repository=$SONAR_GITHUB_REPOSITORY \