From 28a3abdd16e3ffa506499b1a1da0d050a8ecf28d Mon Sep 17 00:00:00 2001 From: Yuki Okushi Date: Wed, 2 Oct 2019 05:30:08 +0900 Subject: [PATCH] chore: fix cache issue on Travis --- .travis.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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