]> source.dussan.org Git - sonarqube.git/commitdiff
Disable P/R analysis on travis
authorJulien HENRY <julien.henry@sonarsource.com>
Thu, 16 Apr 2015 11:56:12 +0000 (13:56 +0200)
committerJulien HENRY <julien.henry@sonarsource.com>
Thu, 16 Apr 2015 11:56:12 +0000 (13:56 +0200)
.travis.yml

index 422a53e4d18f4112e92df61cd9b1ecb143a98c66..5e2492d661a896c2938384bf217445af95577620 100644 (file)
@@ -4,24 +4,15 @@ jdk:
   - oraclejdk8
 
 script:
-  - mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent install -B -e -V -Panalysis -Dclirr=true
-  - if [[ $TRAVIS_PULL_REQUEST -ne 'false' ]]; then mvn sonar:sonar -B -e -V -Dsonar.host.url=http://nemo.sonarqube.org -Dsonar.analysis.mode=incremental; fi
+  - mvn clean verify -B -e
 
 install: true
 
-after_success:
-  - if [[ $TRAVIS_PULL_REQUEST -ne 'false' ]]; then wget https://www.googledrive.com/host/0B-fS5IyruhUSZEFEQ2doVllzVkU -O sq-github.jar; fi
-  - if [[ $TRAVIS_PULL_REQUEST -ne 'false' ]]; then java -jar sq-github.jar SonarSource/sonarqube target/sonar/sonar-report.json "${TRAVIS_PULL_REQUEST}"; fi
-
 sudo: false
 
 cache:
   directories:
     - '$HOME/.m2/repository'
-    - '$HOME/.sonar/cache'
-
-before_cache:
-  - find ~/.m2 -name *SNAPSHOT -type d | xargs rm -rf
 
 notifications:
   email: false