Skip to content

Commit

Permalink
Added SonarCloud
Browse files Browse the repository at this point in the history
  • Loading branch information
tastybento committed Nov 4, 2019
1 parent 5d28df7 commit 9b84016
Show file tree
Hide file tree
Showing 2 changed files with 251 additions and 192 deletions.
23 changes: 23 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
language: java
sudo: false
addons:
sonarcloud:
organization: "bentobox-world"
token:
secure: $SONAR_TOKEN
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_SkyGrid

cache:
directories:
- '$HOME/.m2/repository'
- '$HOME/.sonar/cache'

0 comments on commit 9b84016

Please sign in to comment.