Enable caching for travis

This commit is contained in:
games647 2019-05-02 11:26:56 +02:00
parent 6ece65130d
commit 82cf282d4e
No known key found for this signature in database
GPG Key ID: BFC68C8708713A88
1 changed files with 7 additions and 1 deletions

View File

@ -6,8 +6,14 @@ sudo: false
# This is a java project
language: java
# Compile the project and run unit tests
script: mvn test -B
jdk:
- oraclejdk8
- oraclejdk9
- openjdk11
# Cache Maven dependencies
cache:
directories:
- '$HOME/.m2/repository'