Enable 'go vet' on Travis

pull/1311/head
Philip O'Toole 2015-01-11 11:17:52 -08:00
parent 280c468b26
commit 14b415eaf2
1 changed files with 10 additions and 1 deletions

View File

@ -4,7 +4,16 @@ go:
- 1.3.3
- 1.4
script: go test -v . ./messaging ./influxql
install:
- go get -d -v ./... && go build -v ./...
- if [ $TRAVIS_GO_VERSION == "go1.3.3" ]; then
go get -u code.google.com/p/go.tools/cmd/vet;
fi
- if [ $TRAVIS_GO_VERSION == "go1.4" ]; then
go get -u golang.org/x/tools/cmd/vet;
fi
script: go test -v . ./messaging ./influxql; go vet ./...
notifications:
email: