mirror of
https://gitee.com/fujieid/jap.git
synced 2024-12-01 19:07:35 +08:00
👌 .travis.yml
This commit is contained in:
parent
12d1f05595
commit
0044fe4a06
15
.travis.yml
15
.travis.yml
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user