]> source.dussan.org Git - sonarqube.git/commitdiff
Update pull request analysis start
authortomverin <thomas.verin@sonarsource.com>
Wed, 21 Oct 2015 06:56:19 +0000 (08:56 +0200)
committertomverin <thomas.verin@sonarsource.com>
Wed, 21 Oct 2015 06:56:19 +0000 (08:56 +0200)
travis.sh

index a088cd267a87b05d061e252253888224e9d78db0..6b95be9b3f9aef8aa311dd6746c70ce41a70bba1 100755 (executable)
--- a/travis.sh
+++ b/travis.sh
@@ -42,8 +42,10 @@ set +eu
 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 sonar:sonar -B -e -V -Dmaven.test.failure.ignore=true -Dclirr=true \
-     -Dsonar.analysis.mode=incremental \
+    mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent verify sonar:sonar -B -e -V -Panalysis \
+     -Dmaven.test.failure.ignore=true \
+     -Dclirr=true \
+     -Dsonar.analysis.mode=preview \
      -Dsonar.github.pullRequest=$TRAVIS_PULL_REQUEST \
      -Dsonar.github.repository=$SONAR_GITHUB_REPOSITORY \
      -Dsonar.github.login=$SONAR_GITHUB_LOGIN \