From 995b2a26be0e511c1696883fb8e89af0fc669676 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Wed, 31 Jul 2019 13:08:52 +0200 Subject: travis: remove fuzzit.dev sanity checking It can't work because forks don't get the api key exported (for security reasons). --- .travis.yml | 9 ++------- fuzzit.sh | 4 +--- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0b50087b7..7484fb78f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -34,13 +34,8 @@ after_failure: jobs: include: - - stage: Fuzzit (Fuzzing) + - stage: fuzzit.dev if: branch = master AND type IN (push) go: 1.12.x script: - - ./fuzzit.sh fuzzing - - stage: Fuzzit (Sanity) - if: type IN (pull_request) - go: 1.12.x - script: - - ./fuzzit.sh sanity + - ./fuzzit.sh diff --git a/fuzzit.sh b/fuzzit.sh index 16e52acd8..3cc1dcf07 100755 --- a/fuzzit.sh +++ b/fuzzit.sh @@ -7,12 +7,10 @@ set -eux -JOB_TYPE=$1 - function target { go-fuzz-build -libfuzzer -func $3 -o fuzzer.a $2 clang -fsanitize=fuzzer fuzzer.a -o fuzzer - ./fuzzit create job --type $JOB_TYPE --branch $TRAVIS_BRANCH --revision $TRAVIS_COMMIT $1 ./fuzzer + ./fuzzit create job --type fuzzing --branch $TRAVIS_BRANCH --revision $TRAVIS_COMMIT $1 ./fuzzer } go get -u github.com/dvyukov/go-fuzz/go-fuzz-build -- cgit mrf-deployment