forked from paypal/resteasy-spring-boot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
16 lines (13 loc) · 813 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
language: java
sudo: required
jdk:
- oraclejdk8
install: mvn install
after_success:
# Installing Codacy code coverage reporter upload tool
# This is a workaround until [this issue here](https://github.com/codacy/codacy-coverage-reporter/issues/49) is not solved.
- wget https://github.com/codacy/codacy-coverage-reporter/releases/download/1.0.13/codacy-coverage-reporter-1.0.13-assembly.jar -O ccr.jar
# Uploading Cobertura report to Codacy
- java -cp ccr.jar com.codacy.CodacyCoverageReporter -l Java -r ./resteasy-spring-boot-starter/target/site/cobertura/coverage.xml --projectToken $CODACY_PROJECT_TOKEN
# Deploying SNAPSHOT artifacts to Maven Central
- mvn -B -f ./resteasy-spring-boot-starter/pom.xml -s ./resteasy-spring-boot-starter/settings.xml -DskipTests=true -Dcobertura.skip deploy