From 61636fc5c1fe731d81f5f8cbfad1f51ad60067e5 Mon Sep 17 00:00:00 2001 From: Nick Fitzgerald Date: Wed, 5 Sep 2018 14:08:33 -0700 Subject: [PATCH] CI: re-enable caching for `cargo install`ed tools --- .travis.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.travis.yml b/.travis.yml index 7ef4f93..941a276 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,12 @@ language: rust sudo: false +# Cache `cargo install`ed tools, but don't cache the project's `target` +# directory (which ends up over-caching and filling all disk space!) +cache: + directories: + - /home/travis/.cargo + DEPLOY_TO_GITHUB: &DEPLOY_TO_GITHUB before_deploy: - git config --local user.name "Ashley Williams"