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 .