switched travis to xenial

The CRIU test for lazy migration was always skipped in Travis because
the kernel was too old. This switches Travis testing to dist: xenial
which provides a newer kernel which enables CRIU lazy migration testing.

Signed-off-by: Adrian Reber <areber@redhat.com>
This commit is contained in:
Adrian Reber 2019-02-16 16:12:15 +00:00 committed by Adrian Reber
parent 751f18de2a
commit f1da0d3008
Failed to extract signature
1 changed files with 2 additions and 2 deletions

View File

@ -1,3 +1,4 @@
dist: xenial
language: go
go:
- 1.9.x
@ -21,9 +22,8 @@ env:
- BUILDTAGS="seccomp apparmor selinux ambient"
before_install:
- echo "deb http://archive.ubuntu.com/ubuntu trusty-backports main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list
- sudo apt-get -qq update
- sudo apt-get install -y libseccomp-dev/trusty-backports
- sudo apt-get install -y libseccomp-dev
- go get -u golang.org/x/lint/golint
- go get -u github.com/vbatts/git-validation
- env | grep TRAVIS_