From 9ce9a722ac2f797c82558dc5f25e78f854f4864c Mon Sep 17 00:00:00 2001 From: Gerhard Lazu Date: Mon, 29 Apr 2019 18:18:30 +0100 Subject: [PATCH] Fix go module support in Travis Add Golang v1.12, drop v1.9 & v1.10. Module support was introduced in v1.11: https://blog.golang.org/using-go-modules Related to #128 --- .travis.yml | 8 +++++--- README.md | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index a5b3786..7824ec2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,10 +4,12 @@ dist: xenial language: go go: - - "1.11" - - "1.10" - - "1.9" - tip + - "1.12" + - "1.11" + +env: + - GO111MODULE=on services: - rabbitmq diff --git a/README.md b/README.md index 7b7cee6..ce382d2 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ This library is a [RabbitMQ HTTP API](https://raw.githack.com/rabbitmq/rabbitmq- ## Supported Go Versions -Rabbit Hole supports 3 most recent Go releases. +Rabbit Hole supports the last 2 stable Go versions, as well as the version in development (a.k.a. master). ## Supported RabbitMQ Versions