From ebe5346e8f5130062bb5fb8a6241e68c3a870a15 Mon Sep 17 00:00:00 2001 From: Trevor Pounds Date: Wed, 17 Feb 2016 13:29:51 -0800 Subject: [PATCH 1/2] Enable all `go vet` warnings. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1666d0967..f1c354695 100644 --- a/Makefile +++ b/Makefile @@ -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 From fdf9a354905e4119d0a597d4d351b08078fc1a0e Mon Sep 17 00:00:00 2001 From: Trevor Pounds Date: Wed, 17 Feb 2016 13:30:02 -0800 Subject: [PATCH 2/2] Run `go vet` taget on Travis CI builds. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index a2d73848e..964375803 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,7 +12,7 @@ install: - echo noop script: - - make test + - make test vet branches: only: