diff options
author | Paul Masurel <paul.masurel@gmail.com> | 2019-07-16 19:05:22 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-16 19:05:22 +0900 |
commit | 1aebc87ee34fdb20ed48ca8bbece3c45ea47d7ec (patch) | |
tree | 573963f35e28790320a777f49bd886faf6533935 | |
parent | 9fb5058b292be8b83de474c250fcc861aab5b4e9 (diff) |
disabling caching (#595)
-rw-r--r-- | .travis.yml | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/.travis.yml b/.travis.yml index a908320..2c9f2a9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -70,15 +70,15 @@ after_success: - if [[ -v GH_TOKEN ]]; then echo "GH TOKEN IS SET"; else echo "GH TOKEN NOT SET"; fi - if [[ -v UPLOAD_DOCS ]]; then cargo doc; cargo doc-upload; else echo "doc upload disabled."; fi -cache: cargo -before_cache: - # Travis can't cache files that are not readable by "others" - - chmod -R a+r $HOME/.cargo - - find ./target/debug -type f -maxdepth 1 -delete - - rm -f ./target/.rustc_info.json - - rm -fr ./target/debug/{deps,.fingerprint}/tantivy* - - rm -r target/debug/examples/ - - ls -1 examples/ | sed -e 's/\.rs$//' | xargs -I "{}" find target/* -name "*{}*" -type f -delete +#cache: cargo +#before_cache: +# # Travis can't cache files that are not readable by "others" +# - chmod -R a+r $HOME/.cargo +# - find ./target/debug -type f -maxdepth 1 -delete +# - rm -f ./target/.rustc_info.json +# - rm -fr ./target/debug/{deps,.fingerprint}/tantivy* +# - rm -r target/debug/examples/ +# - ls -1 examples/ | sed -e 's/\.rs$//' | xargs -I "{}" find target/* -name "*{}*" -type f -delete #branches: # only: |