kube-metrics-adapter/.travis.yml
Muaaz Saleem 217bf900a0
Adding test coverage (#13)
* Adding test coverage through coverall

Adding test coverage through coverall so we can see the current state of
test coverage

Signed-off-by: Muhammad Muaaz Saleem <muhammad.muaaz.saleem@zalando.de>

* Fix go.sum for go 1.11.2

Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de>

* Trying to make travis use go 1.11.2

Since go.mod and go.sum files don't seem to be compatible between
go1.11.1, trying to make travis use go 1.11.2

Signed-off-by: Muhammad Muaaz Saleem <muhammad.muaaz.saleem@zalando.de>
2018-11-14 11:02:53 +01:00

18 lines
289 B
YAML

language: go
go:
- "1.11.2"
env:
- GO111MODULE=on
before_install:
- go get github.com/mattn/goveralls
- go get github.com/lawrencewoodman/roveralls
script:
- make test
- make build.docker
- roveralls
- goveralls -v -coverprofile=roveralls.coverprofile -service=travis-ci