aboutsummaryrefslogtreecommitdiffstats
path: root/travis.sh
diff options
context:
space:
mode:
authorJulien HENRY <henryju@yahoo.fr>2015-06-29 11:24:01 +0200
committerJulien HENRY <henryju@yahoo.fr>2015-06-29 11:24:01 +0200
commit9849b523a2bcc018b84f5b11e0fb3e2bd5d3d13a (patch)
tree85f5e443a77b4c3061aa1f85529266f0f9b41b50 /travis.sh
parent35960287f74244d80373eaf3af47a14cefc7bcf8 (diff)
downloadsonarqube-9849b523a2bcc018b84f5b11e0fb3e2bd5d3d13a.tar.gz
sonarqube-9849b523a2bcc018b84f5b11e0fb3e2bd5d3d13a.zip
Use incremental mode to do pull request 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 aaea11d3906..ee25f626d7a 100755
--- a/travis.sh
+++ b/travis.sh
@@ -36,10 +36,9 @@ PRANALYSIS)
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=preview \
+ -Dsonar.analysis.mode=incremental \
-Dsonar.github.pullRequest=$TRAVIS_PULL_REQUEST \
-Dsonar.github.repository=$SONAR_GITHUB_REPOSITORY \
- -Dsonar.forceUpdate=true \
-Dsonar.github.login=$SONAR_GITHUB_LOGIN \
-Dsonar.github.oauth=$SONAR_GITHUB_OAUTH \
-Dsonar.host.url=$SONAR_HOST_URL \