refine travis-ci scripts (#531)

Cache Maven's .m2 folder.
This commit is contained in:
XenoAmess 2020-07-09 20:57:12 +08:00 committed by GitHub
parent 039c5293a1
commit 031f4f61b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -14,21 +14,21 @@
# limitations under the License.
language: java
cache:
directories:
- $HOME/.m2
jdk:
- openjdk8
- openjdk11
- openjdk14
- openjdk-ea
matrix:
include:
- os: linux-ppc64le
jdk: openjdk8
allow_failures:
- jdk: openjdk-ea
script:
- mvn
after_success:
- mvn clean test jacoco:report coveralls:report -Ptravis-jacoco javadoc:javadoc -Ddoclint=all