addon-level/.travis.yml

26 lines
543 B
YAML
Raw Normal View History

2018-08-25 01:23:26 +02:00
language: java
sudo: false
addons:
sonarcloud:
2018-08-25 01:59:52 +02:00
organization: "tastybento-github"
2018-08-25 01:23:26 +02:00
token:
secure: $SONAR_TOKEN
branches:
- develop
- master
jdk:
2019-08-16 23:21:17 +02:00
- openjdk8
- openjdk11
matrix:
allow_failures:
- jdk: openjdk11
2018-08-25 01:23:26 +02:00
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'