-
Notifications
You must be signed in to change notification settings - Fork 20
/
.travis.yml
25 lines (25 loc) · 1.17 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
sudo: false
language: java
addons:
sonarcloud:
organization: "jcgay-github"
token:
secure: "OvWUkclVdgXiRHgynLvt+nWhdScIoxSlu8hEhZKSHQCJZ6sKObSnH0sxfY1bJbUYLwnwTBiBBRl26BEzABN0vr/2P6A/4fyXBg3rxsidPcb+YzGXNTwxrTvr1g/Jxg6zkYlBkvFVI5GL8ZRo5m/tayYaA4o3RxY40qKy5v3MvhE="
jdk:
- openjdk8
install:
- ./mvnw install -Dinvoker.skip=true -DskipTests=true -B -V
script:
- ./mvnw package -Prun-coverage -B
after_success:
- "[[ ${TRAVIS_PULL_REQUEST} == 'false' ]] && ./mvnw sonar:sonar -B"
- "[[ ${TRAVIS_PULL_REQUEST} == 'false' ]] && [[ ${TRAVIS_TAG} == '' ]] && ./mvnw deploy -Dinvoker.skip=true -DskipTests --settings etc/deploy-settings.xml"
- ./mvnw verify coveralls:report -Dinvoker.skip=true -Prun-coverage
env:
global:
- secure: cttGV5bt0VuZZXHK0yo9rfszAjX67+pcRKMBjGuFEdr3v8uD55ho2qrXAtKEbG5x/g1atBXKD3HhBzK5Mb00XDkF93TQdX9veO6619xcVqQ7LdzPDIbbpX7lrS7vIaUaM77+hCtHFEKZs6+DVyeL93z0Vy7GiIAnRAnGomlmAwc=
- secure: bjSYB4bs3FXRt9kPkPE3Qex00rckmnrKc1SoNiDXJ9ZHVjGRl3SXjcAUDQiTvmfliuUBMSRryCpjR4xqUywICEwD8tg9ubW7EbI8X12yxtGszJCoGQYTSlVc/bVgM+qaT/KxLvoCI3PTsPgEI/DsSIjmM4uVqzStgcgb02qZWE8=
cache:
directories:
- '$HOME/.m2/repository'
- '$HOME/.sonar/cache'