Drop Go1.6 support, add test for Go1.9

Also, document the version requirement.
This commit is contained in:
beorn7 2017-09-06 15:36:30 +02:00
parent 00e08dd66d
commit 36f4ab6bce
2 changed files with 5 additions and 3 deletions

View File

@ -2,9 +2,9 @@ sudo: false
language: go
go:
- 1.6.3
- 1.7
- 1.8.1
- 1.7.x
- 1.8.x
- 1.9.x
script:
- go test -short ./...

View File

@ -8,6 +8,8 @@ This is the [Go](http://golang.org) client library for
instrumenting application code, and one for creating clients that talk to the
Prometheus HTTP API.
__This library requires Go1.7 or later.__
## Instrumenting applications
[![code-coverage](http://gocover.io/_badge/github.com/prometheus/client_golang/prometheus)](http://gocover.io/github.com/prometheus/client_golang/prometheus) [![go-doc](https://godoc.org/github.com/prometheus/client_golang/prometheus?status.svg)](https://godoc.org/github.com/prometheus/client_golang/prometheus)