Install cargo-fuzz on Travis before fuzzing.

This commit is contained in:
whitequark 2018-01-26 19:44:02 +00:00
parent 235cd2581d
commit de3b9735f2
1 changed files with 2 additions and 0 deletions

View File

@ -37,6 +37,8 @@ matrix:
MODE='build'
- rust: nightly
env: MODE='fuzz run' ARGS='packet_parser -- -max_len=1536 -max_total_time=30'
before_script:
- if [ $MODE == "fuzz" ]; then cargo install cargo-fuzz; fi
script:
- cargo $MODE --no-default-features --features "$FEATURES" $ARGS
notifications: