node_exporter/.travis.yml
Tobias Schmidt 33f99c4fc1 Vendor all dependencies
Uses godep to vendor dependencies. Godeps is not necessary during build,
golang's new vendor support is used instead.
2016-01-21 16:41:53 -05:00

20 lines
307 B
YAML

sudo: false
language: go
go:
- 1.5.3
- tip
env:
- GO15VENDOREXPERIMENT=1
install:
- go get golang.org/x/tools/cmd/vet
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