summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorDessalines <tyhou13@gmx.com>2020-01-03 12:09:06 -0500
committerDessalines <tyhou13@gmx.com>2020-01-03 12:09:06 -0500
commitba6d8d872072b55255f0362405e53004c5d218e2 (patch)
treeef4f1c0fdfb1b4b0d84409a1561207ea94dbb6a8 /.travis.yml
parentaa59906e91d0cf3a56ef41ad5e6a3c04c4b793e4 (diff)
Trying out new cargo cache. #397
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml12
1 files changed, 8 insertions, 4 deletions
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