aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2019-07-31 13:08:52 +0200
committerDmitry Vyukov <dvyukov@google.com>2019-07-31 13:08:52 +0200
commit995b2a26be0e511c1696883fb8e89af0fc669676 (patch)
tree9c0f6d2f0142532834f7cfb0eb7d1762b79d3744
parent7c7ded697e6322b0975f061b7e268fe44f585dab (diff)
travis: remove fuzzit.dev sanity checking
It can't work because forks don't get the api key exported (for security reasons).
-rw-r--r--.travis.yml9
-rwxr-xr-xfuzzit.sh4
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