diff --git a/.travis.yml b/.travis.yml index 937bbe6..361c8ca 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: