Add caching to .travis.yml

This commit is contained in:
Travis Burtrum 2018-05-15 06:50:50 -04:00
parent 79625c08cd
commit 319e4f7765

View File

@ -46,3 +46,7 @@ after_success:
- if [ "${JDK}" == 'OpenJDK 8' ] || [ "${JDK}" == 'OpenJDK 6' ]; then - if [ "${JDK}" == 'OpenJDK 8' ] || [ "${JDK}" == 'OpenJDK 6' ]; then
mvn deploy --settings .travis-settings.xml -DskipTests=true -B || travis_terminate 1; mvn deploy --settings .travis-settings.xml -DskipTests=true -B || travis_terminate 1;
fi fi
cache:
directories:
- $HOME/.m2