2015-02-09 09:30:44 +08:00
|
|
|
language: java
|
2016-12-16 17:27:19 +08:00
|
|
|
sudo: false
|
|
|
|
install: true
|
|
|
|
addons:
|
2017-07-06 16:33:46 +08:00
|
|
|
sonarcloud:
|
2016-12-16 17:27:19 +08:00
|
|
|
token:
|
|
|
|
secure: "834110c7191f97ecb226970c46dcaff8e681da5a"
|
|
|
|
|
2015-02-09 09:30:44 +08:00
|
|
|
jdk:
|
2016-12-16 17:32:30 +08:00
|
|
|
- oraclejdk8
|
2016-12-16 17:27:19 +08:00
|
|
|
#script: "mvn clean package -Dmaven.test.skip=true"
|
|
|
|
|
|
|
|
script:
|
|
|
|
- mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent package sonar:sonar
|
2016-12-16 17:40:04 +08:00
|
|
|
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- develop
|
|
|
|
|
2016-12-16 17:27:19 +08:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- '$HOME/.m2/repository'
|
|
|
|
- '$HOME/.sonar/cache'
|
2016-12-16 17:40:04 +08:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
- binaryw@qq.com
|