Merge pull request #5173 from tpounds/go-vet-on-travis-ci-builds

Enable `go vet` on Travis CI builds
This commit is contained in:
James Nugent 2016-02-17 13:43:55 -08:00
commit 84d9b757d1
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ install:
- echo noop
script:
- make test
- make test vet
branches:
only:

View File

@ -1,5 +1,5 @@
TEST?=$$(GO15VENDOREXPERIMENT=1 go list ./... | grep -v /vendor/)
VETARGS?=-asmdecl -atomic -bool -buildtags -composites -copylocks -methods -nilfunc -printf -rangeloops -shift -structtags -unreachable -unsafeptr -unusedresult
VETARGS?=-all
default: test