Try travis again

This commit is contained in:
tastybento 2018-08-24 16:23:26 -07:00
parent 407a099167
commit 174d23cf58
1 changed files with 20 additions and 0 deletions

20
.travis.yml Normal file
View File

@ -0,0 +1,20 @@
language: java
sudo: false
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 -P sonar sonar:sonar -B
- echo "${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH}"
cache:
directories:
- '$HOME/.m2/repository'
- '$HOME/.sonar/cache'