khenaidoo | ab1f7bd | 2019-11-14 14:00:27 -0500 | [diff] [blame] | 1 | sudo: false |
| 2 | language: go |
| 3 | # * github.com/grpc/grpc-go still supports go1.6 |
| 4 | # - When we drop support for go1.6 we can remove golang.org/x/net/context |
| 5 | # below as it is part of the Go std library since go1.7 |
| 6 | # * github.com/prometheus/client_golang already requires at least go1.7 since |
| 7 | # September 2017 |
| 8 | go: |
| 9 | - 1.6.x |
| 10 | - 1.7.x |
| 11 | - 1.8.x |
| 12 | - 1.9.x |
| 13 | - 1.10.x |
| 14 | - master |
| 15 | |
| 16 | install: |
| 17 | - go get github.com/prometheus/client_golang/prometheus |
| 18 | - go get google.golang.org/grpc |
| 19 | - go get golang.org/x/net/context |
| 20 | - go get github.com/stretchr/testify |
| 21 | script: |
| 22 | - make test |
| 23 | |
| 24 | after_success: |
| 25 | - bash <(curl -s https://codecov.io/bash) |