commit 0c6cfd9c652e4f5074151320ad31c32cc82818e9
Author: rl1987 <[email protected]>
Date: Sun Mar 31 16:58:32 2019 +0300
Cleanup cargo registry before each Rust-enabled build
Also, refrain from caching target/.
See: https://levans.fr/rust_travis_cache.html
---
.travis.yml | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 87780bb1a..4b2a1ffd7 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,8 +5,9 @@ cache:
## cargo: true
directories:
- $HOME/.cargo
- ## where we point CARGO_TARGET_DIR in all our cargo invocations
- - $TRAVIS_BUILD_DIR/src/rust/target
+
+before_cache:
+ - rm -rf $HOME/.cargo/registry
compiler:
- gcc
_______________________________________________
tor-commits mailing list
[email protected]
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits