diff --git a/.travis.yml b/.travis.yml index 4827244..d47eaa2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,9 +18,10 @@ install: - go get github.com/golang/lint/golint - go get honnef.co/go/tools/cmd/staticcheck - - sudo apt update && sudo apt install -y libapparmor-dev libseccomp-dev + - echo "deb http://archive.ubuntu.com/ubuntu trusty-backports main restricted universe multiverse" | sudo tee /etc/apt/sources.list.d/backports.list + - sudo apt update && sudo apt install -y -t trusty-backports libapparmor-dev libseccomp-dev script: - - make BUILDTAGS=apparmor + - make - go vet $(go list ./... | grep -v vendor) - staticcheck $(go list ./... | grep -v vendor) - test -z "$(golint ./... | grep -v vendor | tee /dev/stderr)"