2019-03-10 07:36:38 +01:00
|
|
|
language: java
|
|
|
|
sudo: false
|
|
|
|
addons:
|
|
|
|
sonarcloud:
|
2019-11-03 22:37:29 +01:00
|
|
|
organization: "bentobox-world"
|
2019-11-08 01:52:15 +01:00
|
|
|
|
2019-03-10 07:36:38 +01:00
|
|
|
jdk:
|
2020-10-10 23:12:20 +02:00
|
|
|
- openjdk11
|
2019-03-10 07:36:38 +01:00
|
|
|
|
|
|
|
script:
|
2019-05-05 08:27:56 +02:00
|
|
|
# JaCoCo is used to have code coverage, the agent has to be activated
|
2019-05-05 08:31:25 +02:00
|
|
|
#- mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent org.jacoco:jacoco-maven-plugin:report package sonar:sonar
|
2019-11-03 22:37:29 +01:00
|
|
|
- mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent install sonar:sonar -Dsonar.projectKey=BentoBoxWorld_AcidIsland
|
2019-05-05 08:27:56 +02:00
|
|
|
|
2019-03-10 07:36:38 +01:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- '$HOME/.m2/repository'
|
|
|
|
- '$HOME/.sonar/cache'
|