From e4d1c1f0c0ff8467a8ce10ebce232439686a4507 Mon Sep 17 00:00:00 2001 From: Sergey Pepyakin Date: Mon, 22 Jan 2018 20:13:38 +0300 Subject: [PATCH] Cache cargo --- .travis.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 94ae2c3..71bf563 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,4 +24,8 @@ after_success: | echo "" > target/doc/index.html && sudo pip install ghp-import && ghp-import -n target/doc && - git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages \ No newline at end of file + git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages +cache: cargo +before_cache: + # Travis can't cache files that are not readable by "others" + - chmod -R a+r $HOME/.cargo