mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-11-10 07:34:09 -08: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
|