Enable 'go vet' on Travis
parent
280c468b26
commit
14b415eaf2
11
.travis.yml
11
.travis.yml
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue