Bump Scala versions & add caching to .travis.yml

This commit is contained in:
Dale Wijnand 2017-07-06 14:58:33 +01:00
parent 74d8a3835d
commit dddfa251c7
No known key found for this signature in database
GPG Key ID: 4F256E3D151DF5EF
1 changed files with 11 additions and 4 deletions

View File

@ -1,11 +1,18 @@
language: scala
jdk: oraclejdk8
scala:
- 2.11.8
- 2.12.1
- 2.11.11
- 2.12.2
script:
- sbt -Dfile.encoding=UTF8 -J-XX:ReservedCodeCacheSize=256M ";++$TRAVIS_SCALA_VERSION test;scalafmt::test;test:scalafmt::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