From 36f4ab6bce7bb1ae419e4e8a7d9c6b008f0f2fbf Mon Sep 17 00:00:00 2001 From: beorn7 Date: Wed, 6 Sep 2017 15:36:30 +0200 Subject: [PATCH] Drop Go1.6 support, add test for Go1.9 Also, document the version requirement. --- .travis.yml | 6 +++--- README.md | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 85b5115..e9bca4e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 ./... diff --git a/README.md b/README.md index 479290d..0eb0df1 100644 --- a/README.md +++ b/README.md @@ -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)