-
Notifications
You must be signed in to change notification settings - Fork 143
/
.travis.yml
21 lines (18 loc) · 1.07 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
dist: trusty
sudo: required
language: java
jdk:
- oraclejdk8
addons:
sonarcloud:
organization: "tonydeng-github"
token:
secure: "Q+CzDCcUcjvj/hK3owgsgG5YfK9+crXPQsOhoIjxeCNG6/7MMc02QLt671UAg7GaVo01qjIoBxse5WGRgxt3iHN+SbYHbjdw4gLsFlUaRoKg1bp9jW820gIi617M13rCDCF83e6r2AoE/nq1k/VZh4GrNqOWLAOLIqsltgqtB0HUo9XJOZ6OrLaDzDivDxkkQ6+NpYhxXxtyDFi9W2oTeOfi+ECAAlf94pt8rrHZy+BYCJF3oih9A80tIhphv0XiZ4fH5lcd+J/JI2ooCz30dQu5jTy/xJtvZCkBpLYxuYthF4vNNYaTD0RTba/b8FkBpurjrsOt4dYMNXeJvMwhhrQmKVhmsyBCHYOWJj+THCjhd1LY9tHRUYFWMWYCGkZwhiYNlDwWMwIIXaF16v9w8oTgQQRXTssOflKlzfX8HIwSSh6trffhMK1KZWoQS1wG/fviPyKabZn1r0XdvAmcXJmnMVK2de0pbiM8U0kwM8np7ekOpeOA6Z8SVVIa4dWsBIS6DxYYH6zXmOE8iWOncwFj2rffDVA1owz1Xv1EuKGQ9SizZHXXRhXZ0FzH1WYlMwk8dTQFSPahlBiVEts4JRvDpBdBn5QjHU4zEem4CZ6Phl3DXbVaxku8cdB1hDQ2UkXyPDVzofqerxjb7y0hXqeDRNuDuQmcBoOZAHHgKdI="
script:
# JaCoCo is used to have code coverage, the agent has to be activated
- mvn install -T20
- mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent package sonar:sonar
cache:
directories:
- '$HOME/.m2/repository'
- '$HOME/.sonar/cache'