From 93090fcbbc373aaa7c40f7a016785a04a63daaf2 Mon Sep 17 00:00:00 2001 From: Tamir Duberstein Date: Wed, 3 Feb 2016 23:49:21 -0500 Subject: [PATCH] Add `go vet` to Travis CI --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 188bec8..b0630fb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,9 +9,11 @@ go: before_install: - go get -u github.com/golang/lint/golint - if [[ $TRAVIS_GO_VERSION == 1.5* ]]; then go get -u github.com/kisielk/errcheck; fi + - go get -u golang.org/x/tools/cmd/vet before_script: - '! gofmt -s -l . | read' - golint ./... - echo $TRAVIS_GO_VERSION - if [[ $TRAVIS_GO_VERSION == 1.5* ]]; then errcheck ./...; fi + - go vet .