Cache rustup toolchains on AppVeyor and Travis-CI

This commit is contained in:
Simon Sapin 2017-11-28 17:31:54 +01:00
parent a3339f97c3
commit d0b3525474
2 changed files with 4 additions and 2 deletions

View file

@ -30,8 +30,9 @@ matrix:
- bash etc/ci/lockfile_changed.sh
cache:
directories:
- .cargo
- .servo
- $HOME/.cargo
- $HOME/.rustup
- $HOME/.ccache
before_cache:
- ./mach clean-nightlies --keep 2 --force

View file

@ -37,8 +37,9 @@ branches:
- master
cache:
- C:\Users\appveyor\.rustup -> rust-toolchain
- C:\Users\appveyor\.cargo -> rust-toolchain
- .servo -> rust-toolchain
- .cargo -> rust-toolchain
- .ccache
install: