Run fuzzing on Travis.

This commit is contained in:
whitequark 2018-01-26 19:30:28 +00:00
parent 864b4b7996
commit 235cd2581d
2 changed files with 6 additions and 1 deletions

View File

@ -13,4 +13,7 @@ travis_config['matrix']['include'].each do |env|
system(cmd)
$?.success? or exit 1
end
env['env'].scan(/(\w+)=\'(.+?)\'/) do
ENV.delete $1
end
end

View File

@ -35,8 +35,10 @@ matrix:
- rust: nightly
env: FEATURES='proto-ipv4 proto-ipv6 socket-raw socket-udp socket-tcp socket-icmp'
MODE='build'
- rust: nightly
env: MODE='fuzz run' ARGS='packet_parser -- -max_len=1536 -max_total_time=30'
script:
- cargo "$MODE" --no-default-features --features "$FEATURES"
- cargo $MODE --no-default-features --features "$FEATURES" $ARGS
notifications:
irc:
channels: