mirror of
https://github.com/BentoBoxWorld/Limits.git
synced 2024-11-15 23:25:53 +01:00
23 lines
523 B
YAML
23 lines
523 B
YAML
|
language: java
|
||
|
sudo: false
|
||
|
addons:
|
||
|
sonarcloud:
|
||
|
organization: "bentobox-world"
|
||
|
|
||
|
jdk:
|
||
|
- openjdk8
|
||
|
- openjdk11
|
||
|
|
||
|
matrix:
|
||
|
allow_failures:
|
||
|
- jdk: openjdk11
|
||
|
|
||
|
script:
|
||
|
# the following command line builds the project, runs the tests with coverage and then execute the SonarCloud analysis
|
||
|
- mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent install sonar:sonar -Dsonar.projectKey=BentoBoxWorld_Limits
|
||
|
|
||
|
cache:
|
||
|
directories:
|
||
|
- '$HOME/.m2/repository'
|
||
|
- '$HOME/.sonar/cache'
|