forked from mirror/async-std
Merge #168
168: Cache cargo artifacts r=yoshuawuyts a=stjepang Supersedes #114 This does not cache `~/.cargo/registry` because it's too big. Co-authored-by: Stjepan Glavina <stjepang@gmail.com>
This commit is contained in:
commit
c3f6a5174b
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