Fix travis failure if previous travis run on branch failed to build

This commit is contained in:
Matt Corallo 2019-07-30 13:40:45 -04:00
parent 283d40f2e4
commit 347f5bfc4c

View file

@ -12,7 +12,7 @@ before_install:
script:
- RUSTFLAGS="-C link-dead-code" cargo build --verbose
- rm target/debug/lightning-* # Make sure we drop old test binaries
- rm -f target/debug/lightning-* # Make sure we drop old test binaries
- RUSTFLAGS="-C link-dead-code" cargo test --verbose
- if [ "$(rustup show | grep default | grep 1.34.2)" != "" ]; then cd fuzz && cargo test --verbose && ./travis-fuzz.sh; fi
- if [ "$(rustup show | grep default | grep stable)" != "" ]; then cd net-tokio && cargo build --verbose && cd ..; fi