File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ before_install:
16
16
17
17
script :
18
18
# 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
19
20
- if [ "$(rustup show | grep default | grep '1.39.0')" != "" ]; then export BUILD_NET_TOKIO=1; fi
20
21
- if [ "$(rustup show | grep default | grep '1\.')" == "" ]; then export BUILD_NET_TOKIO=1; fi
21
22
# Build the appropriate workspace(s)
@@ -26,7 +27,6 @@ script:
26
27
- if [ "$BUILD_NET_TOKIO" == "1" ]; then RUSTFLAGS="-C link-dead-code" cargo test --verbose; fi
27
28
- if [ "$BUILD_NET_TOKIO" != "1" ]; then RUSTFLAGS="-C link-dead-code" cargo test --verbose -p lightning; fi
28
29
# 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
30
30
- if [ "$(rustup show | grep default | grep stable)" != "" ]; then
31
31
wget https://github.com/SimonKagstrom/kcov/archive/master.tar.gz &&
32
32
tar xzf master.tar.gz &&
Original file line number Diff line number Diff line change @@ -12,7 +12,8 @@ rm *_target.rs
12
12
[ " $( git diff) " != " " ] && exit 1
13
13
popd
14
14
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
16
17
sed -i ' s/lto = true//' Cargo.toml
17
18
HFUZZ_BUILD_ARGS=" --features honggfuzz_fuzz" cargo hfuzz build
18
19
for TARGET in src/bin/* .rs; do
You can’t perform that action at this time.
0 commit comments