From 1d71ff02701cb01f7e9980754da9c95cb92252d2 Mon Sep 17 00:00:00 2001 From: Joshua Harshman Date: Mon, 1 Feb 2021 15:59:47 -0700 Subject: [PATCH] Deprecate Go < 1.14 (#1323) In accordance with our adopted best practices, the main branch and the next major release of Cobra will deprecate older and un-maintained versions of Golang. fix #1322 --- .travis.yml | 8 ++++---- go.mod | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index a9bd4e547..3255e06f2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,8 +6,8 @@ stages: - build go: - - 1.12.x - - 1.13.x + - 1.14.x + - 1.15.x - tip before_install: @@ -19,10 +19,10 @@ matrix: - go: tip include: - stage: diff - go: 1.13.x + go: 1.14.x script: make fmt - stage: build - go: 1.13.x + go: 1.14.x script: make cobra_generator script: diff --git a/go.mod b/go.mod index ff5614405..eb7d47fa5 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/spf13/cobra -go 1.12 +go 1.14 require ( github.com/cpuguy83/go-md2man/v2 v2.0.0