2019-09-05 18:55:53 +00:00
|
|
|
sudo: false
|
2019-01-12 04:58:27 +00:00
|
|
|
language: go
|
2019-09-27 21:51:53 +00:00
|
|
|
# * github.com/grpc/grpc-go still supports go1.6
|
|
|
|
# - When we drop support for go1.6 we can remove golang.org/x/net/context
|
|
|
|
# below as it is part of the Go std library since go1.7
|
|
|
|
# * github.com/prometheus/client_golang already requires at least go1.7 since
|
|
|
|
# September 2017
|
2019-01-12 04:58:27 +00:00
|
|
|
go:
|
2019-09-05 18:55:53 +00:00
|
|
|
- 1.6.x
|
|
|
|
- 1.7.x
|
|
|
|
- 1.8.x
|
2019-09-27 21:51:53 +00:00
|
|
|
- 1.9.x
|
|
|
|
- 1.10.x
|
|
|
|
- master
|
2019-01-12 04:58:27 +00:00
|
|
|
|
|
|
|
install:
|
|
|
|
- go get github.com/prometheus/client_golang/prometheus
|
|
|
|
- go get google.golang.org/grpc
|
|
|
|
- go get golang.org/x/net/context
|
|
|
|
- go get github.com/stretchr/testify
|
|
|
|
script:
|
2019-09-27 21:51:53 +00:00
|
|
|
- make test
|
2019-09-05 18:55:53 +00:00
|
|
|
|
|
|
|
after_success:
|
|
|
|
- bash <(curl -s https://codecov.io/bash)
|