Cache cargo

This commit is contained in:
Sergey Pepyakin 2018-01-22 20:13:38 +03:00
parent 8095ed60d4
commit e4d1c1f0c0
1 changed files with 5 additions and 1 deletions

View File

@ -25,3 +25,7 @@ after_success: |
sudo pip install ghp-import && sudo pip install ghp-import &&
ghp-import -n target/doc && ghp-import -n target/doc &&
git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages 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