node_exporter/.travis.yml
Matthias Rampke efbc877188 Stop installing golang.org/x/tools/cmd/vet during Travis build
This is
[deprecated](https://groups.google.com/forum/#!topic/golang-announce/qu_rAphYdxY)
and no longer necessary as we don't try to build with Go 1.4 anyway.
2016-04-18 10:12:18 +00:00

17 lines
261 B
YAML

sudo: false
language: go
go:
- 1.5.3
- tip
env:
- GO15VENDOREXPERIMENT=1
script:
- "! gofmt -l $(find . -path ./vendor -prune -o -name '*.go' -print) | read nothing"
- go vet
- go test -v $(go list ./... | grep -v /vendor/)
- go build
- ./end-to-end-test.sh