update travis

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
Jess Frazelle 2018-03-19 23:28:47 -04:00
parent e62ba12fce
commit 2c2760f6e8
No known key found for this signature in database
GPG key ID: 18F3685C0022BFF3

View file

@ -20,11 +20,11 @@
- go get honnef.co/go/tools/cmd/staticcheck
- sudo apt update && sudo apt install -y libapparmor-dev libseccomp-dev
script:
- make IMAGE=alpine
- make IMAGE=alpine BUILDTAGS=apparmor
- go vet $(go list ./... | grep -v vendor)
- staticcheck $(go list ./... | grep -v vendor)
- test -z "$(golint ./... | grep -v vendor | tee /dev/stderr)"
- test -z "$(gofmt -s -l . | grep -v vendor | tee /dev/stderr)"
- test -z "$(gofmt -s -l . | grep -v vendor | grep -v bindata.go | tee /dev/stderr)"
- go test $(go list ./... | grep -v vendor)
- make cover
after_success: