2017-05-20 23:33:53 +02:00
|
|
|
language: java
|
2018-03-11 20:42:08 +01:00
|
|
|
sudo: false
|
|
|
|
addons:
|
2018-08-04 04:10:09 +02:00
|
|
|
sonarcloud:
|
2019-10-30 03:08:12 +01:00
|
|
|
organization: "bentobox-world"
|
2019-11-08 02:45:25 +01:00
|
|
|
|
2018-03-11 20:42:08 +01:00
|
|
|
jdk:
|
2019-07-27 19:28:22 +02:00
|
|
|
- openjdk8
|
|
|
|
- openjdk11
|
2018-08-04 04:41:47 +02:00
|
|
|
|
2019-07-27 19:50:15 +02:00
|
|
|
matrix:
|
|
|
|
allow_failures:
|
|
|
|
- jdk: openjdk11
|
|
|
|
|
2018-03-11 20:42:08 +01:00
|
|
|
script:
|
2019-07-10 17:43:55 +02:00
|
|
|
#- sonar-scanner
|
2019-11-03 17:15:57 +01:00
|
|
|
- mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent install sonar:sonar -Dsonar.projectKey=BentoBoxWorld_BentoBox
|
2019-10-30 04:32:24 +01:00
|
|
|
#- mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent package -P sonar sonar:sonar -B
|
2019-05-05 08:33:31 +02:00
|
|
|
#- echo "${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH}"
|
2018-03-11 20:42:08 +01:00
|
|
|
cache:
|
2018-08-04 04:10:09 +02:00
|
|
|
directories:
|
|
|
|
- '$HOME/.m2/repository'
|
|
|
|
- '$HOME/.sonar/cache'
|