Merge pull request #5173 from tpounds/go-vet-on-travis-ci-builds
Enable `go vet` on Travis CI builds
This commit is contained in:
commit
84d9b757d1
|
@ -12,7 +12,7 @@ install:
|
||||||
- echo noop
|
- echo noop
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- make test
|
- make test vet
|
||||||
|
|
||||||
branches:
|
branches:
|
||||||
only:
|
only:
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -1,5 +1,5 @@
|
||||||
TEST?=$$(GO15VENDOREXPERIMENT=1 go list ./... | grep -v /vendor/)
|
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
|
default: test
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue