Fix Travis caching (#1295)

This commit is contained in:
rorp 2020-04-02 14:08:36 -07:00 committed by GitHub
parent 445077338f
commit 134075380b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -79,13 +79,11 @@ cache:
directories:
- $HOME/.ivy2/cache
- $HOME/.sbt/boot/
- $PWD/binaries/bitcoind/
- $PWD/binaries/eclair/
- $HOME/.bitcoin-s/binaries/
# https://www.scala-sbt.org/1.x/docs/Travis-CI-with-sbt.html#Caching
before_cache:
# Cleanup the cached directories to avoid unnecessary cache updates
- rm -r $PWD/binaries/bitcoind/bitcoin-0.18.99
- rm -fv $HOME/.ivy2/.sbt.ivy.lock
- find $HOME/.ivy2/cache -name "ivydata-*.properties" -print -delete
- find $HOME/.sbt -name "*.lock" -print -delete