summaryrefslogtreecommitdiff
path: root/travis-ci
diff options
context:
space:
mode:
authorEvgeny Vereshchagin <evvers@ya.ru>2019-05-14 13:47:56 +0200
committerEvgeny Vereshchagin <evvers@ya.ru>2019-05-14 13:58:05 +0200
commita0603f8c281f090a6d134b522480cccccee59c24 (patch)
tree88120a26afa3c1ed69ffb2f1e0e7d3f13c4210e1 /travis-ci
parent0cd158f643510452c755d1679a053a65a6013f5d (diff)
downloadsystemd-a0603f8c281f090a6d134b522480cccccee59c24.tar.gz
tests: make fuzzbuzz.sh compatible with Azure Pipelines again
Now that https://github.com/systemd/systemd/pull/12542 is merged, fuzzbuzz.sh should be changed a little bit to make it work on Azure Pipelines. We can no longer assume that source repositories are added "automagically" by Travis CI or that PATH is set properly.
Diffstat (limited to 'travis-ci')
-rwxr-xr-xtravis-ci/managers/fuzzbuzz.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/travis-ci/managers/fuzzbuzz.sh b/travis-ci/managers/fuzzbuzz.sh
index 4edf8948b5..74c22529ae 100755
--- a/travis-ci/managers/fuzzbuzz.sh
+++ b/travis-ci/managers/fuzzbuzz.sh
@@ -6,12 +6,14 @@ set -u
REPO_ROOT=${REPO_ROOT:-$(pwd)}
+sudo bash -c "echo 'deb-src http://archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse' >>/etc/apt/sources.list"
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
+export PATH="$HOME/.local/bin/:$PATH"
tools/oss-fuzz.sh
timeout --preserve-status 5 ./out/fuzz-unit-file
git clean -dxff