From 12fde525c743907906fdd9837ffa93b266bf7308 Mon Sep 17 00:00:00 2001 From: Richard Belleville Date: Thu, 12 Mar 2020 13:04:58 -0700 Subject: [PATCH] Drop support for Go 1.11. The protobuf 1.3.3 depends on Go interpreter of at least 1.12. Per the Go version support policy (two releases before the current release of 1.14), this version is unsupported anyway. This commit drops support for 1.11 and expands the test matrix to cover 1.13 and 1.14. --- .travis.yml | 16 ++++++++-------- Dockerfile | 3 +-- go.mod | 2 +- 3 files changed, 10 insertions(+), 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4b0d5eb..f9ca783 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,18 +3,18 @@ sudo: false matrix: include: - - go: "1.9" - - go: "1.10" - - go: "1.11" - env: - - GO111MODULE=off - - VET=1 - - go: "1.11" - env: GO111MODULE=on - go: "1.12" env: GO111MODULE=off - go: "1.12" env: GO111MODULE=on + - go: "1.13" + env: GO111MODULE=off + - go: "1.13" + env: GO111MODULE=on + - go: "1.14" + env: GO111MODULE=off + - go: "1.14" + env: GO111MODULE=on - go: tip script: diff --git a/Dockerfile b/Dockerfile index 0f71406..92d0c85 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.11.10-alpine as builder +FROM golang:1.13.8-alpine as builder MAINTAINER FullStory Engineering # currently, a module build requires gcc (so Go tool can build @@ -17,7 +17,6 @@ COPY cmd /tmp/fullstorydev/grpcurl/cmd ENV CGO_ENABLED=0 ENV GOOS=linux ENV GOARCH=amd64 -ENV GO111MODULE=on RUN go build -o /grpcurl \ -ldflags "-w -extldflags \"-static\" -X \"main.version=$(cat VERSION)\"" \ ./cmd/grpcurl diff --git a/go.mod b/go.mod index 7ebbd46..009ce0b 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/fullstorydev/grpcurl -go 1.14 +go 1.13 require ( github.com/golang/protobuf v1.3.3