Skip to content

Commit

Permalink
Added travis and sonarcloud
Browse files Browse the repository at this point in the history
  • Loading branch information
tastybento committed Nov 30, 2019
1 parent 3420cb2 commit 0e0f0e5
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .travis.yml
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'

0 comments on commit 0e0f0e5

Please sign in to comment.