Skip to content

Commit

Permalink
Add sonarqube analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
evrignaud committed Feb 6, 2017
1 parent d465284 commit ff8aaf2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ before_install:

after_success:
- mvn clean cobertura:cobertura org.eluder.coveralls:coveralls-maven-plugin:report -DserviceName=travis-ci -DserviceJobId=$TRAVIS_JOB_ID
- mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent package sonar:sonar

addons:
coverity_scan:
Expand All @@ -34,3 +35,11 @@ addons:
build_command_prepend: "mvn clean"
build_command: "mvn -DskipTests=true compile"
branch_pattern: coverity_scan
sonarqube:
token:
secure: "2a51b0f7abcc70a472ba743b94a6b7f3c42d3205"

cache:
directories:
- '$HOME/.m2/repository'
- '$HOME/.sonar/cache'

0 comments on commit ff8aaf2

Please sign in to comment.