forked from citrusframework/citrus-simulator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
34 lines (28 loc) · 1.72 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
26
27
28
29
30
31
32
33
34
language: java
dist: trusty
sudo: required
install: true
matrix:
include:
# OracleJDK - Java 8 (main build with Sonar)
- env: SONAR='true'
jdk: oraclejdk8
# OpenJDK - Java 11 (lts)
- env: SONAR='false' BUILD_OPTS='-Djava.version=11 -Dspring.version=5.1.10.RELEASE -Dspring.boot.version=2.1.9.RELEASE'
jdk: openjdk11
# OpenJDK - Java 12 (latest)
- env: SONAR='false' BUILD_OPTS='-Djava.version=12 -Dspring.version=5.1.10.RELEASE -Dspring.boot.version=2.1.9.RELEASE'
jdk: openjdk12
script:
- if [[ "${SONAR_SCANNER_HOME}" != "" && "${SONAR}" == "true" ]]; then export MVN_INSTALL="org.jacoco:jacoco-maven-plugin:prepare-agent install -Dembedded sonar:sonar -Dsonar.projectKey=citrus-simulator" ; else export MVN_INSTALL="install" ; fi
- mvn --batch-mode -q -Pskip-it clean ${MVN_INSTALL} ${BUILD_OPTS}
- mvn --batch-mode -f simulator-samples/pom.xml verify ${BUILD_OPTS}
cache:
directories:
- '$HOME/.sonar/cache'
- '$HOME/.m2'
addons:
sonarcloud:
organization: "citrusframework"
token:
secure: "TJGwqMwihT6FU/jiExqGrL4YCJVJKKBu30bx0dHaromZ7Au4/gfKk3MgH67h3gU39lcEkDSEpZXIhimnbnpHbTqh8I4M6umQRilpkDRfsweMBiBXW+MFy+hoy4njbsD3n6NGleNRlAy2zaL7+/E/uHl5TExtplG5dAy1yIeNxv7F+n/QfDj/lewIBFFSDNTX+LEUslxs5cqSRTaAxRJMayf4mxLRN0EpjeILlGS/vaIB7ME6fCodj4L1GettBtXcjEDkKaevhl/XyFU3UFXkSTpH53lRdqMMFfB4NYG8lWquPCicv6ein+wxbDpPUVIWdHX7Xp94sUZ3QRUTgO19bRQkZFiZSrffDA19OexLvdjRkUagMGPz7iE+U0X0/tk8+qvxm6/lFt7rfZUcDCHHa8cV+PLFCR2zh3J1lCYqpABUhpRQTA8CDgQJopGk9gakKcslmwvvGtRjpCsrgGnofgzc3DJ+qLIcJKVGwDWeVSvdtiJgpFnGwbmQ2O0W1mH3S431L4vxtgKmcIhkK4CyjIzLgEt0YOo0Loqe0szVY2VhB7kfgRAsWq5l02SihpgFMoSBrdx0kdbusgXjgzJxKbv5IY2Y2xBTRATClc0Bl1yJzJsSm5wF0LdQTKkCsTPxJBCLL4AmfYlWd2wk6t7OJQ0YiqmA93cbdaYjVmrUYMY="