hmily/.travis.yml
2020-08-14 11:19:48 +08:00

22 lines
407 B
YAML

language: java
jdk:
- openjdk8
install: true
cache:
directories:
- "$HOME/.m2"
before_script:
- echo "MAVEN_OPTS='-Xmx1024m -XX:MaxMetaspaceSize=256m'" > ~/.mavenrc
script:
- travis_wait 30 mvn --batch-mode --no-transfer-progress clean install cobertura:cobertura -Dmaven.javadoc.skip=true
after_success:
- bash <(curl -s https://codecov.io/bash)
after_failure:
- echo "build failed!"