travis: make sure the fuzzers can be built in "local" mode

This commit is contained in:
Evgeny Vereshchagin 2019-05-08 23:23:55 +02:00
parent 5de55cc865
commit 8c6637bab2
1 changed files with 9 additions and 0 deletions

View File

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