addon-level/.travis.yml

23 lines
522 B
YAML
Raw Normal View History

2018-08-25 01:23:26 +02:00
language: java
sudo: false
addons:
sonarcloud:
2019-11-04 03:14:10 +01:00
organization: "bentobox-world"
2018-08-25 01:23:26 +02:00
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-11-04 03:14:10 +01:00
# 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_Level
2019-11-04 03:14:10 +01:00
2018-08-25 01:23:26 +02:00
cache:
directories:
- '$HOME/.m2/repository'
- '$HOME/.sonar/cache'