mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-11-23 20:36:21 +01:00
efbc877188
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.
17 lines
261 B
YAML
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
|