Merge pull request #160 from jrudolph/add-travis-caching

Add travis caching
This commit is contained in:
Johannes Rudolph 2018-08-23 22:13:49 +02:00 committed by GitHub
commit 9a5d51902b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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