From f2e680430adb88eb9576cdccda5a5d5b013d4315 Mon Sep 17 00:00:00 2001 From: Alexander Morozov Date: Thu, 10 Sep 2015 20:05:52 -0700 Subject: [PATCH] Add vet check to CI Signed-off-by: Alexander Morozov --- .travis.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 47e2d4f5..7b71caef 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,4 +5,10 @@ go: - 1.5 - tip -script: go test ./... +install: + - go get -d ./... + - go get golang.org/x/tools/cmd/vet + +script: + - go vet ./... + - go test ./...