소스 검색

Install cargo-fuzz on Travis before fuzzing.

whitequark 7 년 전
부모
커밋
af26eafd89
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      .travis.yml

+ 2 - 0
.travis.yml

@@ -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: