Skip to content

Commit

Permalink
Install Go 1.16 in the pipeline
Browse files Browse the repository at this point in the history
- Install gorelease via go install as opposed to via the curl command which is no longer supported
  • Loading branch information
dikhan committed Jan 22, 2022
1 parent 8070b69 commit df161d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ dist: trusty

language: go
go:
- "1.14.x"
- "1.16.x"

services:
- docker
Expand All @@ -13,7 +13,7 @@ env:
- TF_VERSION=0.13.6 PERFORM_DOCKER_LOGIN=true GO111MODULE=on

install:
- export BINDIR=/home/travis/bin && curl -sfL https://install.goreleaser.com/github.com/goreleaser/goreleaser.sh | sh
- go install github.com/goreleaser/goreleaser@latest
- wget https://releases.hashicorp.com/terraform/"$TF_VERSION"/terraform_"$TF_VERSION"_linux_amd64.zip
- unzip terraform_"$TF_VERSION"_linux_amd64.zip
- sudo mv terraform /usr/local/bin/
Expand Down

0 comments on commit df161d3

Please sign in to comment.