add travis caching

This commit is contained in:
Johannes Rudolph 2018-08-23 17:03:28 +02:00
parent cf7926d4f5
commit 59fe1b6b5e
No known key found for this signature in database
GPG Key ID: 4D293A24CCD39E19
1 changed files with 10 additions and 0 deletions

View File

@ -3,3 +3,13 @@ language: scala
jdk: oraclejdk8
script:
- sbt ";^test ;^scripted"
before_cache:
# Cleanup the cached directories to avoid unnecessary cache updates
- find $HOME/.ivy2/cache -name "ivydata-*.properties" -print -delete
- find $HOME/.sbt -name "*.lock" -print -delete
cache:
directories:
- $HOME/.ivy2/cache
- $HOME/.sbt