forked from mirror/async-std
Cache cargo artifacts
This commit is contained in:
parent
2c02037673
commit
714e173948
1 changed files with 11 additions and 1 deletions
12
.travis.yml
12
.travis.yml
|
@ -1,6 +1,16 @@
|
|||
language: rust
|
||||
|
||||
env: RUSTFLAGS="-D warnings"
|
||||
env:
|
||||
- RUSTFLAGS="-D warnings"
|
||||
|
||||
# Cache the whole `~/.cargo` directory to keep `~/cargo/.crates.toml`.
|
||||
cache:
|
||||
directories:
|
||||
- /home/travis/.cargo
|
||||
|
||||
# Don't cache the cargo registry because it's too big.
|
||||
before_cache:
|
||||
- rm -rf /home/travis/.cargo/registry
|
||||
|
||||
matrix:
|
||||
fast_finish: true
|
||||
|
|
Loading…
Reference in a new issue