mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-26 22:19:40 -08:00
59de58d380
* Docker Swarm service discovery Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
12 lines
247 B
YAML
12 lines
247 B
YAML
dependencies:
|
|
post:
|
|
# install golint
|
|
- go get golang.org/x/lint/golint
|
|
|
|
test:
|
|
pre:
|
|
# run analysis before tests
|
|
- go vet ./...
|
|
- test -z "$(golint ./... | tee /dev/stderr)"
|
|
- test -z "$(gofmt -s -l . | tee /dev/stderr)"
|