Skip to content

Commit dd34e49

Browse files
committed
use caching to speed up CI
also all Travis runs have sudo now, so we don't need that line anymore
1 parent e8f0cd5 commit dd34e49

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.travis.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
language: scala
22

3-
sudo: required
4-
53
env:
64
global:
75
# PGP_PASSPHRASE
@@ -16,3 +14,13 @@ script: admin/build.sh
1614
jdk:
1715
- oraclejdk8
1816
- openjdk11
17+
18+
cache:
19+
directories:
20+
- $HOME/.ivy2/cache
21+
- $HOME/.sbt/boot
22+
- $HOME/.sbt/launchers
23+
24+
before_cache:
25+
- find $HOME/.sbt -name "*.lock" | xargs rm
26+
- find $HOME/.ivy2 -name "ivydata-*.properties" | xargs rm

0 commit comments

Comments
 (0)