bentobox/.travis.yml

23 lines
588 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
install: true
2017-05-20 23:33:53 +02:00
before_install:
2018-03-11 20:42:08 +01:00
- 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:
2018-03-13 03:00:42 +01:00
secure: $SONAR_TOKEN
branches:
- develop
- master
2018-03-11 20:42:08 +01:00
jdk:
- oraclejdk8
script:
- mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent package sonar:sonar
- echo "${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH}"
2018-03-11 20:42:08 +01:00
cache:
directories:
- '$HOME/.m2/repository'
- '$HOME/.sonar/cache'