]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Merge pull request #368 from TheBlueMatt/2019-07-travis-fix
authorMatt Corallo <649246+TheBlueMatt@users.noreply.github.com>
Tue, 30 Jul 2019 18:26:11 +0000 (18:26 +0000)
committerGitHub <noreply@github.com>
Tue, 30 Jul 2019 18:26:11 +0000 (18:26 +0000)
Fix travis failure if previous travis run on branch failed to build

.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