mirror of
https://github.com/BentoBoxWorld/BSkyBlock.git
synced 2024-11-13 10:24:05 +01:00
21 lines
475 B
YAML
21 lines
475 B
YAML
|
language: java
|
||
|
sudo: false
|
||
|
addons:
|
||
|
sonarcloud:
|
||
|
organization: "tastybento-github"
|
||
|
token:
|
||
|
secure: $SONAR_TOKEN
|
||
|
branches:
|
||
|
- develop
|
||
|
- master
|
||
|
jdk:
|
||
|
- openjdk8
|
||
|
|
||
|
script:
|
||
|
- mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent package -P sonar sonar:sonar -B
|
||
|
- echo "${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH}"
|
||
|
cache:
|
||
|
directories:
|
||
|
- '$HOME/.m2/repository'
|
||
|
- '$HOME/.sonar/cache'
|