-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3420cb2
commit 0e0f0e5
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
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_TwerkingForTrees | ||
|
||
cache: | ||
directories: | ||
- '$HOME/.m2/repository' | ||
- '$HOME/.sonar/cache' |