Update .travis.yml

This commit is contained in:
Binary Wang 2016-12-16 17:27:19 +08:00 committed by GitHub
parent 5acee3dc24
commit 12329d0a8c

View File

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