Skip to content

Commit

Permalink
CI: check for bench breakages
Browse files Browse the repository at this point in the history
Closes: #321
Approved by: whitequark
  • Loading branch information
jhwgh1968 authored and Homu committed Jan 3, 2020
1 parent 2f80e1a commit ae27235
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ matrix:
env: MODE='fuzz run' ARGS='packet_parser -- -max_len=1536 -max_total_time=30'
- rust: nightly
env: FEATURES='default' MODE='clippy'
- rust: nightly
env: FEATURES='default' MODE='check --bench bench'
- os: osx
rust: nightly
env: FEATURES='default' MODE='build'
Expand All @@ -57,6 +59,9 @@ matrix:
# Clippy sometimes fails to compile and this shouldn't gate merges
- rust: nightly
env: FEATURES='default' MODE='clippy'
# See if the bench actually breaks
- rust: nightly
env: FEATURES='default' MODE='check --bench bench'
before_script:
- if [ "$MODE" == "fuzz run" ]; then cargo install cargo-fuzz; fi
- if [ "$MODE" == "clippy" ]; then cargo install clippy; fi
Expand Down

0 comments on commit ae27235

Please sign in to comment.