Switch CI to go1.14

This commit is contained in:
Matt Joiner 2020-03-29 11:38:25 +11:00
parent 2ea04e9083
commit 2c00258e70
1 changed files with 5 additions and 2 deletions

View File

@ -2,8 +2,11 @@ version: 2
jobs: jobs:
build: build:
machine: true machine: true
# This would be for if we didn't have machine: true. Could help with circleci local execute, which doesn't support VMs?
# docker:
# - image: cimg/go:1.13
environment: environment:
GO_BRANCH: release-branch.go1.13 GO_BRANCH: release-branch.go1.14
steps: steps:
- run: echo $CIRCLE_WORKING_DIRECTORY - run: echo $CIRCLE_WORKING_DIRECTORY
- run: echo $PWD - run: echo $PWD
@ -11,7 +14,7 @@ jobs:
- run: echo 'export GOPATH=$HOME/go' >> $BASH_ENV - run: echo 'export GOPATH=$HOME/go' >> $BASH_ENV
- run: echo 'export PATH="$GOPATH/bin:$PATH"' >> $BASH_ENV - run: echo 'export PATH="$GOPATH/bin:$PATH"' >> $BASH_ENV
- run: echo $GOPATH - run: echo $GOPATH
- run: which go - run: which go || sudo apt install golang-go
- run: go version - run: go version
- run: | - run: |
cd /usr/local cd /usr/local