]> source.dussan.org Git - sonarqube.git/commitdiff
Fix JaCoCo config for analysis of PR on Travis
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Fri, 5 Feb 2016 10:40:57 +0000 (11:40 +0100)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Fri, 5 Feb 2016 10:40:57 +0000 (11:40 +0100)
travis.sh

index 589ecff7c84c8cd943d5824c8d1d32cf095aa63a..0e294ae62b23b0fc89f92152b8e3301c6c3f18be 100755 (executable)
--- a/travis.sh
+++ b/travis.sh
@@ -34,8 +34,8 @@ CI)
     # No need for Maven phase "install" as the generated JAR file does not need to be installed
     # in Maven local repository. Phase "verify" is enough.
 
+    export MAVEN_OPTS="-Xmx1G -Xms128m"
     mvn org.jacoco:jacoco-maven-plugin:prepare-agent verify sonar:sonar \
-        -Pcoverage-per-test \
         -Dclirr=true \
         -Dsonar.analysis.mode=issues \
         -Dsonar.github.pullRequest=$TRAVIS_PULL_REQUEST \