mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 22:58:50 +01:00
Cleanup cargo registry before each Rust-enabled build
Also, refrain from caching target/. See: https://levans.fr/rust_travis_cache.html
This commit is contained in:
parent
ac28e56ccb
commit
0c6cfd9c65
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue