Fix travis failure if previous travis run on branch failed to build 2019-07-travis-fix
authorMatt Corallo <git@bluematt.me>
Tue, 30 Jul 2019 17:40:45 +0000 (13:40 -0400)
committerMatt Corallo <git@bluematt.me>
Tue, 30 Jul 2019 17:41:12 +0000 (13:41 -0400)
.travis.yml

index af5fa721456691c401dbaa8100daa6fa53454887..ef0aa839cf51195cb0304a482a9df86b74b4f008 100644 (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