mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
Merge pull request #397 from ashthespy/travis_cache
[Travis] Reduce cache bloat - don't save build artefacts
This commit is contained in:
commit
f53565473f
1 changed files with 12 additions and 1 deletions
13
.travis.yml
13
.travis.yml
|
@ -6,7 +6,17 @@ rust:
|
|||
- nightly
|
||||
|
||||
cache: cargo
|
||||
|
||||
# Reduce cache bloat
|
||||
before_cache:
|
||||
- rm -rfv "$TRAVIS_HOME/.cargo/registry/src"
|
||||
- rm -rfv target/debug/incremental/{librespot,build_script_build}-*
|
||||
- rm -rfv target/debug/.fingerprint/librespot-*
|
||||
- rm -rfv target/debug/build/librespot-*
|
||||
- rm -rfv target/debug/deps/liblibrespot-*
|
||||
- rm -rfv target/debug/deps/librespot-*
|
||||
- rm -rfv target/debug/{librespot,liblibrespot}.d
|
||||
- cargo clean -p librespot librespot-core librespot-connect librespot-audio librespot-metadata librespot-playback
|
||||
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
|
@ -25,6 +35,7 @@ before_script:
|
|||
|
||||
script:
|
||||
- cargo build --locked --no-default-features
|
||||
- cargo build --locked --examples
|
||||
- cargo build --locked --no-default-features --features "with-tremor"
|
||||
- cargo build --locked --no-default-features --features "with-vorbis"
|
||||
- cargo build --locked --no-default-features --features "alsa-backend"
|
||||
|
|
Loading…
Reference in a new issue