travis: bump the Ubuntu release to Bionic

The main reason why this is necessary is that gcc 5.x on Xenial doesn't
support ASan on s390x. Bumping the release to Bionic with gcc 7.x allows
us to build libbpf on s390x with ASan without issues.
This commit is contained in:
Frantisek Sumsal
2019-11-14 14:49:08 +01:00
committed by Andrii Nakryiko
parent 3720f31852
commit dd8f1bdd45
2 changed files with 11 additions and 9 deletions

View File

@@ -2,7 +2,9 @@
set -e
set -x
echo 'deb-src http://archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse' >>/etc/apt/sources.list
RELEASE="bionic"
echo "deb-src http://archive.ubuntu.com/ubuntu/ $RELEASE main restricted universe multiverse" >>/etc/apt/sources.list
apt-get update
apt-get -y build-dep libelf-dev