mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-13 17:14:05 -08:00
c1682adb2f
* Reload certificates from disk automatically This change bumps github.com/prometheus/common to include https://github.com/prometheus/common/pull/173 Signed-off-by: Simon Pasquier <spasquie@redhat.com> * scrape: close idle connections on reload/stop Signed-off-by: Simon Pasquier <spasquie@redhat.com> * use v0.3.0 tag Signed-off-by: Simon Pasquier <spasquie@redhat.com>
19 lines
466 B
YAML
19 lines
466 B
YAML
sudo: false
|
|
language: go
|
|
go:
|
|
- 1.7
|
|
- 1.8
|
|
- 1.9
|
|
- "1.10"
|
|
- tip
|
|
before_install:
|
|
- go get golang.org/x/tools/cmd/cover
|
|
- go get github.com/mattn/goveralls
|
|
- go get github.com/golang/lint/golint
|
|
script:
|
|
- go test -v -covermode=count -coverprofile=coverage.out
|
|
- go vet ./...
|
|
- test -z "$(gofmt -d -s . | tee /dev/stderr)"
|
|
- test -z "$(golint ./... | tee /dev/stderr)"
|
|
- $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci
|