From 90e834722c96652938e0bb2c2ea8198afb85eb76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=B0=D0=BC=D1=98=D0=B0=D0=BD=20=D0=93=D0=B5=D0=BE?= =?UTF-8?q?=D1=80=D0=B3=D0=B8=D0=B5=D0=B2=D1=81=D0=BA=D0=B8?= Date: Sat, 14 Sep 2019 15:33:55 +0200 Subject: [PATCH] travis: use standard cargo cache on travis https://changelog.travis-ci.com/rust-caching-improvements-106581 seems to have been improved/fixed --- .travis.yml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5ad8fdc..caadeac 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,6 @@ language: rust rust: stable +cache: cargo sudo: false env: @@ -36,13 +37,3 @@ deploy: # channel to use to produce the release artifacts condition: $TRAVIS_RUST_VERSION = stable tags: true - -## Need to cache the whole `.cargo` directory to keep .crates.toml for -## cargo-update to work -cache: - directories: - - ${TRAVIS_HOME}/.cargo - -## But don't cache the cargo registry -before_cache: - - rm -rf ${TRAVIS_HOME}/.cargo/registry