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 authored and Andrii Nakryiko committed 2019-11-14 13:49:21 -08:00
1 parent 3720f31852
commit dd8f1bdd45
2 files changed
+11 -9

No files matched your search

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