diff --git a/.travis.yml b/.travis.yml index 53e56635..3d391b1e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,11 @@ sudo: true language: rust -cache: cargo +cache: + directories: + - $HOME/.cargo + - $HOME/.rustup +before_cache: + - rm -rf /home/travis/.cargo/registry rust: - nightly - nightly-2019-06-18