bentobox/.travis.yml

21 lines
477 B
YAML
Raw Normal View History

2017-05-20 23:33:53 +02:00
language: java
2018-03-11 20:42:08 +01:00
sudo: false
addons:
sonarcloud:
organization: "tastybento-github"
token:
secure: $SONAR_TOKEN
branches:
- develop
- master
2018-03-11 20:42:08 +01:00
jdk:
- oraclejdk8
2018-08-04 04:41:47 +02:00
2018-03-11 20:42:08 +01:00
script:
2018-08-08 03:33:22 +02:00
- mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent package -P sonar sonar:sonar -B
- echo "${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH}"
2018-03-11 20:42:08 +01:00
cache:
directories:
- '$HOME/.m2/repository'
- '$HOME/.sonar/cache'