mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-05 02:19:46 +01:00
23 lines
588 B
YAML
23 lines
588 B
YAML
language: java
|
|
sudo: false
|
|
install: true
|
|
before_install:
|
|
- sed -i.bak -e 's|https://nexus.codehaus.org/snapshots/|https://oss.sonatype.org/content/repositories/codehaus-snapshots/|g'
|
|
~/.m2/settings.xml
|
|
addons:
|
|
sonarcloud:
|
|
organization: "tastybento-github"
|
|
token:
|
|
secure: $SONAR_TOKEN
|
|
branches:
|
|
- develop
|
|
- master
|
|
jdk:
|
|
- oraclejdk8
|
|
script:
|
|
- mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent package sonar:sonar
|
|
- echo "${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH}"
|
|
cache:
|
|
directories:
|
|
- '$HOME/.m2/repository'
|
|
- '$HOME/.sonar/cache' |