Skip to content

Commit

Permalink
ci: Print some fuzz logs so that CI doesn't time out
Browse files Browse the repository at this point in the history
  • Loading branch information
fitzgen committed Sep 4, 2019
1 parent f07b3db commit fc3379b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .travis.yml
Expand Up @@ -40,7 +40,7 @@ matrix:
# we do `cargo test`.
#
# We run these first because they take the longest.
- name: "fuzz (stable)"
- name: "fuzz-utils (stable)"
rust: stable
env:
# 300 seconds = 5 minutes.
Expand All @@ -67,6 +67,12 @@ matrix:
script:
|
which cargo-fuzz || cargo install cargo-fuzz

(for (( ; ; )); do
tail -n 100 fuzz.log || true
sleep 10
done) &

# When the fuzzing fails, the logs are too big for Travis, so just
# show the relevant tail portion of the log.
cargo fuzz run wasm-opt-ttf -- -max_total_time=300 > fuzz.log 2>&1 || {
Expand Down

0 comments on commit fc3379b

Please sign in to comment.