summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml19
1 files changed, 8 insertions, 11 deletions
diff --git a/.travis.yml b/.travis.yml
index 541628d99..b7776c98d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -156,18 +156,15 @@ script:
fi
- |
if [ "$T" = "fuzzer" ]; then
- export CC=clang
- export CXX=clang++
- export CFLAGS="-fsanitize=address"
+ # Download the fuzzer to a temporary folder
+ ./tests/fuzz/download_fuzzer.sh /tmp/curl_fuzzer
- # Specifically use libstdc++ for travis as libc++ is not installed.
- # This is ok because we're not compiling against libFuzzer.
- export CXXFLAGS="-fsanitize=address -stdlib=libstdc++"
- ./configure --disable-shared --enable-debug --enable-maintainer-mode
- make
- cd tests/fuzz
- make clean
- make check
+ export CURLSRC=$PWD
+
+ # Run the mainline fuzzer test
+ pushd /tmp/curl_fuzzer
+ ./mainline.sh ${CURLSRC}
+ popd
fi
# whitelist branches to avoid testing feature branches twice (as branch and as pull request)