Merge pull request #89 from dwijnand/travis-ci

Add caching to .travis.yml
This commit is contained in:
Dale Wijnand 2017-07-10 09:58:35 +01:00 committed by GitHub
commit 88395e18a4
1 changed files with 9 additions and 2 deletions

View File

@ -1,4 +1,5 @@
language: scala
jdk: oraclejdk8
scala:
- 2.11.11
@ -7,5 +8,11 @@ scala:
script:
- sbt -Dfile.encoding=UTF8 -J-XX:ReservedCodeCacheSize=256M "++$TRAVIS_SCALA_VERSION" test
jdk:
- oraclejdk8
cache:
directories:
- $HOME/.ivy2/cache
- $HOME/.sbt
before_cache:
- find $HOME/.ivy2/cache -name "ivydata-*.properties" -print -delete
- find $HOME/.sbt -name "*.lock" -print -delete