From: Matt Corallo Date: Tue, 30 Jul 2019 17:40:45 +0000 (-0400) Subject: Fix travis failure if previous travis run on branch failed to build X-Git-Tag: v0.0.12~193^2 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=refs%2Fheads%2F2019-07-travis-fix;p=rust-lightning Fix travis failure if previous travis run on branch failed to build --- diff --git a/.travis.yml b/.travis.yml index af5fa7214..ef0aa839c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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