| @@ -1,8 +1,14 @@ | |||||
| language: java | language: java | ||||
| sudo: false | |||||
| install: true | |||||
| addons: | |||||
| sonarqube: | |||||
| token: | |||||
| secure: "834110c7191f97ecb226970c46dcaff8e681da5a" | |||||
| jdk: | jdk: | ||||
| - oraclejdk7 | - oraclejdk7 | ||||
| script: "mvn clean package -Dmaven.test.skip=true" | |||||
| #script: "mvn clean package -Dmaven.test.skip=true" | |||||
| branches: | branches: | ||||
| only: | only: | ||||
| @@ -11,3 +17,10 @@ branches: | |||||
| notifications: | notifications: | ||||
| email: | email: | ||||
| - binaryw@qq.com | - binaryw@qq.com | ||||
| script: | |||||
| - mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent package sonar:sonar | |||||
| cache: | |||||
| directories: | |||||
| - '$HOME/.m2/repository' | |||||
| - '$HOME/.sonar/cache' | |||||