Fixes "go vet" for drone CI

Removes "go get" commands for go cmd packages to use the default
versions
Also updates client/client.go to conform to go vet style
This commit is contained in:
Brian Bland 2014-11-17 13:07:58 -08:00
parent 3127ffcfb1
commit 8ad7819b1b
2 changed files with 28 additions and 27 deletions

View file

@ -5,9 +5,6 @@ env:
- PATH=$PATH:$GOROOT/bin:$GOPATH/bin
script:
- go get code.google.com/p/go.tools/cmd/vet
- go get code.google.com/p/go.tools/cmd/godoc
- go get code.google.com/p/go.tools/cmd/cover
- go get github.com/axw/gocov/gocov
- go get github.com/mattn/goveralls
- go get github.com/golang/lint/golint
@ -15,7 +12,7 @@ script:
- go get -d -t ./...
- hack/validate_gofmt.sh
- goveralls -v -service drone.io -repotoken $COVERALLS_TOKEN
- goveralls -v -service drone.io -repotoken {{COVERALLS_TOKEN}}
- go vet ./...
- golint ./...
- go test -v ./...