summaryrefslogtreecommitdiff
path: root/travis-ci
diff options
context:
space:
mode:
authorEvgeny Vereshchagin <evvers@ya.ru>2019-05-08 23:23:55 +0200
committerEvgeny Vereshchagin <evvers@ya.ru>2019-05-14 13:42:17 +0200
commit8c6637bab2a4a3caee28a5337f7c2fcedf43c246 (patch)
tree711fb9188861b77a6d103ca47ced59141d62d015 /travis-ci
parent5de55cc8656042281b9b6d259242f6513c14c9ab (diff)
downloadsystemd-8c6637bab2a4a3caee28a5337f7c2fcedf43c246.tar.gz
travis: make sure the fuzzers can be built in "local" mode
Diffstat (limited to 'travis-ci')
-rwxr-xr-xtravis-ci/managers/fuzzbuzz.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/travis-ci/managers/fuzzbuzz.sh b/travis-ci/managers/fuzzbuzz.sh
index 0a296f75f8..4edf8948b5 100755
--- a/travis-ci/managers/fuzzbuzz.sh
+++ b/travis-ci/managers/fuzzbuzz.sh
@@ -6,7 +6,16 @@ set -u
REPO_ROOT=${REPO_ROOT:-$(pwd)}
+sudo apt-get update -y
+sudo apt-get build-dep systemd -y
+sudo apt-get install -y ninja-build python3-pip python3-setuptools
+pip3 install meson
+
cd $REPO_ROOT
+tools/oss-fuzz.sh
+timeout --preserve-status 5 ./out/fuzz-unit-file
+git clean -dxff
+
wget https://app.fuzzbuzz.io/releases/cli/latest/linux/fuzzbuzz
chmod +x fuzzbuzz
./fuzzbuzz validate