update cache strategy on Travis, add rust 1.43 and 1.44
This commit is contained in:
parent
4976fc3aa0
commit
9a2aec0abe
13
.travis.yml
13
.travis.yml
@ -8,6 +8,8 @@ rust:
|
|||||||
- 1.40.0
|
- 1.40.0
|
||||||
- 1.41.0
|
- 1.41.0
|
||||||
- 1.42.0
|
- 1.42.0
|
||||||
|
- 1.43.0
|
||||||
|
- 1.44.0
|
||||||
- stable
|
- stable
|
||||||
- beta
|
- beta
|
||||||
- nightly
|
- nightly
|
||||||
@ -50,11 +52,16 @@ matrix:
|
|||||||
|
|
||||||
script:
|
script:
|
||||||
- cargo test
|
- cargo test
|
||||||
|
|
||||||
|
# Need to cache the whole `.cargo` directory to keep .crates.toml for
|
||||||
|
# cargo-update to work
|
||||||
cache:
|
cache:
|
||||||
cargo: true
|
directories:
|
||||||
|
- /home/travis/.cargo
|
||||||
|
|
||||||
|
# But don't cache the cargo registry
|
||||||
before_cache:
|
before_cache:
|
||||||
# Travis can't cache files that are not readable by "others"
|
- rm -rf /home/travis/.cargo/registry
|
||||||
- chmod -R a+r $HOME/.cargo
|
|
||||||
|
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user