summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Rudolph <johannes.rudolph@gmail.com>2018-11-07 15:08:04 +0100
committerGitHub <noreply@github.com>2018-11-07 15:08:04 +0100
commit659d7e3efcec060305b5f7a1cd432c95bd702f47 (patch)
tree238a4de26d4702e870b30fbbba0723a2da9bd509
parentc8e106fe41dad3916d54dcbf90e3aa5599d4d461 (diff)
parentbcca8bf84dd1c05723183c1eaa90ffb91cd1d7ad (diff)
downloadspray-json-659d7e3efcec060305b5f7a1cd432c95bd702f47.tar.gz
spray-json-659d7e3efcec060305b5f7a1cd432c95bd702f47.tar.bz2
spray-json-659d7e3efcec060305b5f7a1cd432c95bd702f47.zip
Merge pull request #285 from spray/jrudolph-patch-1
Travis: add workspace caching (ivy/sbt)
-rw-r--r--.travis.yml17
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