travis: use standard cargo cache on travis
https://changelog.travis-ci.com/rust-caching-improvements-106581 seems to have been improved/fixed
This commit is contained in:
parent
302df9eff2
commit
90e834722c
1 changed files with 1 additions and 10 deletions
11
.travis.yml
11
.travis.yml
|
@ -1,5 +1,6 @@
|
||||||
language: rust
|
language: rust
|
||||||
rust: stable
|
rust: stable
|
||||||
|
cache: cargo
|
||||||
sudo: false
|
sudo: false
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
@ -36,13 +37,3 @@ deploy:
|
||||||
# channel to use to produce the release artifacts
|
# channel to use to produce the release artifacts
|
||||||
condition: $TRAVIS_RUST_VERSION = stable
|
condition: $TRAVIS_RUST_VERSION = stable
|
||||||
tags: true
|
tags: true
|
||||||
|
|
||||||
## Need to cache the whole `.cargo` directory to keep .crates.toml for
|
|
||||||
## cargo-update to work
|
|
||||||
cache:
|
|
||||||
directories:
|
|
||||||
- ${TRAVIS_HOME}/.cargo
|
|
||||||
|
|
||||||
## But don't cache the cargo registry
|
|
||||||
before_cache:
|
|
||||||
- rm -rf ${TRAVIS_HOME}/.cargo/registry
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue