From: Dessalines Date: Fri, 3 Jan 2020 17:09:06 +0000 (-0500) Subject: Trying out new cargo cache. #397 X-Git-Url: http://these/git/%22%7Burl%7D/%22https:/image.com/%7B%60%24%7BghostArchiveUrl%7D/%7BallRss%7D?a=commitdiff_plain;h=ba6d8d872072b55255f0362405e53004c5d218e2;p=lemmy.git Trying out new cargo cache. #397 --- diff --git a/.travis.yml b/.travis.yml index 0f180dba..af69ec8a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,11 +5,15 @@ matrix: allow_failures: - rust: nightly fast_finish: true -cache: - directories: - - /home/travis/.cargo +cache: cargo before_cache: - - rm -rf /home/travis/.cargo/registry + - rm -rfv target/debug/incremental/lemmy-* + - rm -rfv target/debug/.fingerprint/lemmy-* + - rm -rfv target/debug/build/lemmy-* + - rm -rfv target/debug/deps/liblemmy-* + - rm -rfv target/debug/deps/lemmy-* + - rm -rfv target/debug/{lemmy,liblemmy}.d + - cargo clean -p lemmy before_script: - psql -c "create user lemmy with password 'password' superuser;" -U postgres - psql -c 'create database lemmy with owner lemmy;' -U postgres