mirror of
https://github.com/prometheus/prometheus
synced 2024-12-26 00:23:18 +00:00
412ca33226
Signed-off-by: tariqibrahim <tariq.ibrahim@microsoft.com>
15 lines
294 B
YAML
15 lines
294 B
YAML
language: go
|
|
dist: xenial
|
|
go:
|
|
- 1.9.x
|
|
- 1.10.x
|
|
- 1.11.x
|
|
script:
|
|
- go get -t -v ./...
|
|
- diff -u <(echo -n) <(gofmt -d .)
|
|
- diff -u <(echo -n) <(golint $(go list -e ./...) | grep -v YAMLToJSON)
|
|
- go tool vet .
|
|
- go test -v -race ./...
|
|
install:
|
|
- go get golang.org/x/lint/golint
|