diff --git a/.travis.yml b/.travis.yml index 3ae64ae4..84e65760 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,5 @@ language: rust -cache: cargo + matrix: include: # Stable channel. @@ -103,3 +103,10 @@ deploy: notifications: email: on_success: never + +# Caching +cache: + directories: + - /home/travis/.cargo +before_cache: + - rm -rf /home/travis/.cargo/registry