👌 .travis.yml

This commit is contained in:
yadong.zhang 2021-02-18 13:35:17 +08:00
parent 12d1f05595
commit 0044fe4a06

View File

@ -1,20 +1,13 @@
language: java
sudo: false # faster builds
install: true
# Cobertura is not supported in JDK11 so you must downgrade the JDK that Travis uses if you want to use Cobertura with Travis.
# https://github.com/cobertura/cobertura/issues/381
jdk:
- openjdk8
notifications:
email: false
sudo: false # faster builds
script:
- export TZ=Asia/Shanghai
- mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
- mvn cobertura:cobertura -Dcobertura.report.format=xml -Dmaven.javadoc.skip.true
script: "mvn cobertura:cobertura"
after_success:
- bash <(curl -s https://codecov.io/bash)