update travis
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
parent
aaf9cd2487
commit
9ff5e389ff
1 changed files with 3 additions and 2 deletions
|
@ -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)"
|
||||
|
|
Loading…
Reference in a new issue