Skip to content

Commit 5383050

Browse files
committed
add cache settings for travis
http://docs.travis-ci.com/user/caching/
1 parent f69086c commit 5383050

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.travis.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,14 @@ branches:
1212
only:
1313
- /^v07.*$/
1414

15-
script: sbt ++$TRAVIS_SCALA_VERSION test
15+
script:
16+
- sbt ++$TRAVIS_SCALA_VERSION test
17+
- find $HOME/.sbt -name "*.lock" | xargs rm
18+
- find $HOME/.ivy2 -name "ivydata-*.properties" | xargs rm
19+
20+
cache:
21+
directories:
22+
- $HOME/.ivy2/cache
1623

1724
notifications:
1825
email:

0 commit comments

Comments
 (0)