2015-02-09 09:30:44 +08:00
|
|
|
language: java
|
2017-07-14 10:21:50 +08:00
|
|
|
#sudo: false
|
|
|
|
#install: true
|
|
|
|
#addons:
|
|
|
|
# sonarcloud:
|
|
|
|
# token:
|
|
|
|
# secure: "834110c7191f97ecb226970c46dcaff8e681da5a"
|
2016-12-16 17:27:19 +08:00
|
|
|
|
2015-02-09 09:30:44 +08:00
|
|
|
jdk:
|
2016-12-16 17:32:30 +08:00
|
|
|
- oraclejdk8
|
2017-07-14 10:21:50 +08:00
|
|
|
script: "mvn clean package -Dmaven.test.skip=true"
|
2016-12-16 17:27:19 +08:00
|
|
|
|
2017-07-14 10:21:50 +08:00
|
|
|
#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'
|
2017-07-14 10:21:50 +08:00
|
|
|
# - '$HOME/.sonar/cache'
|
2016-12-16 17:40:04 +08:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
email:
|
2017-11-06 18:41:35 +08:00
|
|
|
- binarywang@vip.qq.com
|