Skip to content

Commit 96f70e9

Browse files
committed
TEMP: test broken travis
1 parent 52dfc0d commit 96f70e9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ before_install:
1616

1717
script:
1818
# Support lightning-net-tokio only on Rust stable, beta, and 1.39.0
19+
- if [ "$(rustup show | grep default | grep 1.34.2)" != "" ]; then cd fuzz && cargo test --verbose && ./travis-fuzz.sh; fi
1920
- if [ "$(rustup show | grep default | grep '1.39.0')" != "" ]; then export BUILD_NET_TOKIO=1; fi
2021
- if [ "$(rustup show | grep default | grep '1\.')" == "" ]; then export BUILD_NET_TOKIO=1; fi
2122
# Build the appropriate workspace(s)
@@ -26,7 +27,6 @@ script:
2627
- if [ "$BUILD_NET_TOKIO" == "1" ]; then RUSTFLAGS="-C link-dead-code" cargo test --verbose; fi
2728
- if [ "$BUILD_NET_TOKIO" != "1" ]; then RUSTFLAGS="-C link-dead-code" cargo test --verbose -p lightning; fi
2829
# Run lightning workspace fuzz tests for Rust 1.34.2
29-
- if [ "$(rustup show | grep default | grep 1.34.2)" != "" ]; then cd fuzz && cargo test --verbose && ./travis-fuzz.sh; fi
3030
- if [ "$(rustup show | grep default | grep stable)" != "" ]; then
3131
wget https://github.com/SimonKagstrom/kcov/archive/master.tar.gz &&
3232
tar xzf master.tar.gz &&

fuzz/travis-fuzz.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ rm *_target.rs
1212
[ "$(git diff)" != "" ] && exit 1
1313
popd
1414

15-
cargo install --force honggfuzz
15+
rm -rf ~/.cargo/registry
16+
cargo install --force honggfuzz || cat /home/travis/.cargo/registry/src/github*/honggfuzz*/Cargo.lock
1617
sed -i 's/lto = true//' Cargo.toml
1718
HFUZZ_BUILD_ARGS="--features honggfuzz_fuzz" cargo hfuzz build
1819
for TARGET in src/bin/*.rs; do

0 commit comments

Comments
 (0)