From be8252dd3f80f8614936f4c41ffc94abada5e9b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Sat, 25 Aug 2018 11:26:19 +0200 Subject: [PATCH] Update Travis etc. to Go 1.11 and Go 1.10.4 See #5115 --- .travis.yml | 4 ++-- Gopkg.toml | 2 +- appveyor.yml | 2 ++ magefile.go | 2 +- snapcraft.yaml | 2 +- 5 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index f398f2015d0..395846de1d9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,8 +6,8 @@ env: git: depth: false go: - - 1.9.7 - - "1.10.3" + - "1.10.4" + - 1.11 - tip os: - linux diff --git a/Gopkg.toml b/Gopkg.toml index 502bd136f45..dd697722b32 100644 --- a/Gopkg.toml +++ b/Gopkg.toml @@ -34,7 +34,7 @@ [[constraint]] name = "github.com/magefile/mage" - version = "v1" + version = "^v2.2.0" [[constraint]] branch = "master" diff --git a/appveyor.yml b/appveyor.yml index 3feb4819ffc..0473089868f 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -5,6 +5,8 @@ init: - go version - go env +stack: go 1.11 + environment: GOPATH: C:\GOPATH\ HUGO_BUILD_TAGS: extended diff --git a/magefile.go b/magefile.go index e3381651146..e8a9a7b5f9c 100644 --- a/magefile.go +++ b/magefile.go @@ -265,7 +265,7 @@ func CheckVendor() error { } func isGoLatest() bool { - return strings.Contains(runtime.Version(), "1.10") + return strings.Contains(runtime.Version(), "1.11") } func buildTags() string { diff --git a/snapcraft.yaml b/snapcraft.yaml index 6e851767b0b..04913ab88a5 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -71,4 +71,4 @@ parts: rm -rf $SNAPCRAFT_PART_INSTALL/var after: [go] go: - source-tag: go1.10.3 + source-tag: go1.11