2018-08-25 01:23:26 +02:00
|
|
|
language: java
|
|
|
|
sudo: false
|
|
|
|
addons:
|
|
|
|
sonarcloud:
|
2019-10-31 00:11:07 +01:00
|
|
|
organization: "bentobox-world"
|
2018-08-25 01:23:26 +02:00
|
|
|
token:
|
|
|
|
secure: $SONAR_TOKEN
|
|
|
|
jdk:
|
2019-08-16 23:21:17 +02:00
|
|
|
- openjdk8
|
|
|
|
- openjdk11
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
allow_failures:
|
|
|
|
- jdk: openjdk11
|
2018-08-25 01:23:26 +02:00
|
|
|
|
|
|
|
script:
|
2019-10-31 00:11:07 +01:00
|
|
|
- mvn clean verify sonar:sonar -Pcoverage -Dsonar.projectKey=BentoBoxWorld_Level
|
2018-08-25 01:23:26 +02:00
|
|
|
- echo "${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH}"
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- '$HOME/.m2/repository'
|
|
|
|
- '$HOME/.sonar/cache'
|