From 8e8d142f34be5994043aa31703e3d31f0d9dc7dd Mon Sep 17 00:00:00 2001 From: Tom Payne Date: Thu, 29 Nov 2018 21:20:20 +0100 Subject: [PATCH 1/2] Use Go 1.11.x explicitly The default version of Go on Travis is 1.10.2, which does not support modules. --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index 665ef341c43..7c9c19d0f46 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,9 @@ addons: # needed for goreleaser/nfpm: - rpm +go: + - 1.11.x + # uncomment below if docker builds are enabled in .goreleaser.yaml # services: # - docker From cfab91b046ae37080d562012367f616db1bb8704 Mon Sep 17 00:00:00 2001 From: Tom Payne Date: Thu, 29 Nov 2018 21:20:59 +0100 Subject: [PATCH 2/2] Add newline at end of file --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 7c9c19d0f46..9a270327067 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,4 +27,4 @@ deploy: script: curl -sL https://git.io/goreleaser | bash on: tags: true - condition: $TRAVIS_OS_NAME = linux \ No newline at end of file + condition: $TRAVIS_OS_NAME = linux