mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-17 21:15:50 +00:00
added sonarqube to travis
This commit is contained in:
parent
186fde09ed
commit
677296a44c
1 changed files with 9 additions and 0 deletions
|
@ -1,2 +1,11 @@
|
|||
language: java
|
||||
jdk: oraclejdk8
|
||||
|
||||
addons:
|
||||
sonarqube:
|
||||
organization: "ihristovut-github" # the key of the org you chose at step #3
|
||||
token:
|
||||
secure: fbc9e4a5677933a0f017872ab5d09baf6e3d48fd # encrypted value of your token
|
||||
script:
|
||||
# the following command line builds the project, runs the tests with coverage and then execute the SonarQube analysis
|
||||
- mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent install sonar:sonar
|
||||
|
|
Loading…
Reference in a new issue