update travis

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
Jess Frazelle 2018-03-20 15:04:42 -04:00
parent aaf9cd2487
commit 9ff5e389ff

View file

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