mirror of
https://github.com/prometheus/node_exporter
synced 2024-12-26 08:02:11 +00:00
33f99c4fc1
Uses godep to vendor dependencies. Godeps is not necessary during build, golang's new vendor support is used instead.
20 lines
307 B
YAML
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
|