diff options
author | Johannes Rudolph <johannes.rudolph@gmail.com> | 2018-11-07 14:57:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-07 14:57:34 +0100 |
commit | bcca8bf84dd1c05723183c1eaa90ffb91cd1d7ad (patch) | |
tree | 4da9f1a5d49f85290169601210f49cebd63e354f | |
parent | ddb4e1e7c0e28f06f703dd5e325b59fd0548bd97 (diff) | |
download | spray-json-bcca8bf84dd1c05723183c1eaa90ffb91cd1d7ad.tar.gz spray-json-bcca8bf84dd1c05723183c1eaa90ffb91cd1d7ad.tar.bz2 spray-json-bcca8bf84dd1c05723183c1eaa90ffb91cd1d7ad.zip |
Travis: add workspace caching (ivy/sbt)
-rw-r--r-- | .travis.yml | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 00d3567..00a1123 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,18 +1,31 @@ language: scala + scala: - 2.10.7 - 2.11.12 - 2.12.7 - 2.13.0-M5 -script: - - sbt "++ ${TRAVIS_SCALA_VERSION}!" test mimaReportBinaryIssues jdk: - oraclejdk8 + matrix: include: - jdk: openjdk11 scala: 2.12.7 + +script: + - sbt "++ ${TRAVIS_SCALA_VERSION}!" test mimaReportBinaryIssues + +before_cache: + - find $HOME/.ivy2 -name "ivydata-*.properties" -print -delete + - find $HOME/.sbt -name "*.lock" -print -delete + +cache: + directories: + - $HOME/.ivy2/cache + - $HOME/.sbt/boot + notifications: email: - johannes@spray.io |