mirror of
https://github.com/LemmyNet/lemmy
synced 2024-11-19 03:25:29 +00:00
Trying out new cargo cache. #397
This commit is contained in:
parent
aa59906e91
commit
ba6d8d8720
12
.travis.yml
vendored
12
.travis.yml
vendored
@ -5,11 +5,15 @@ matrix:
|
|||||||
allow_failures:
|
allow_failures:
|
||||||
- rust: nightly
|
- rust: nightly
|
||||||
fast_finish: true
|
fast_finish: true
|
||||||
cache:
|
cache: cargo
|
||||||
directories:
|
|
||||||
- /home/travis/.cargo
|
|
||||||
before_cache:
|
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:
|
before_script:
|
||||||
- psql -c "create user lemmy with password 'password' superuser;" -U postgres
|
- psql -c "create user lemmy with password 'password' superuser;" -U postgres
|
||||||
- psql -c 'create database lemmy with owner lemmy;' -U postgres
|
- psql -c 'create database lemmy with owner lemmy;' -U postgres
|
||||||
|
Loading…
Reference in New Issue
Block a user