Files
Koenraad VerheydenandGitHub bc38328867 metrics-generator: use Prometheus Agent WAL and remote storage (#1323)
* metrics-generator: use Prometheus Agent WAL and remote storage

* Linting

* Move e2e test together with the others

* Simplify

* Improve errors from TestInstance_multiTenancy

* Make TestInstance more robust

* gofmt

* Update config docker-compose example

* Data races 😬
2022-03-09 12:56:46 +01:00

17 lines
465 B
YAML

language: go
sudo: false
go:
- 1.10.x
install:
- go get -v github.com/golang/lint/golint
- go get golang.org/x/tools/cmd/cover
- go get github.com/mattn/goveralls
- go get -d -t -v ./...
- go build -v ./...
script:
- go vet ./...
- $HOME/gopath/bin/golint .
- go test -v -race ./...
- go test -v -covermode=count -coverprofile=cov.out
- $HOME/gopath/bin/goveralls -coverprofile=cov.out -service=travis-ci -repotoken "$COVERALLS_TOKEN" || true