]> Sergey Matveev's repositories - btrtrc.git/commitdiff
Switch CI to go1.14
authorMatt Joiner <anacrolix@gmail.com>
Sun, 29 Mar 2020 00:38:25 +0000 (11:38 +1100)
committerMatt Joiner <anacrolix@gmail.com>
Sun, 29 Mar 2020 00:38:25 +0000 (11:38 +1100)
.circleci/config.yml

index 31eb3730ce6a8e704e13bc155cc3cfc5cf0423b9..f6f165f5e6095dde4664f3663160d3ad96e6d7ec 100644 (file)
@@ -2,8 +2,11 @@ version: 2
 jobs:
   build:
     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:
-      GO_BRANCH: release-branch.go1.13
+      GO_BRANCH: release-branch.go1.14
     steps:
       - run: echo $CIRCLE_WORKING_DIRECTORY
       - run: echo $PWD
@@ -11,7 +14,7 @@ jobs:
       - run: echo 'export GOPATH=$HOME/go' >> $BASH_ENV
       - run: echo 'export PATH="$GOPATH/bin:$PATH"' >> $BASH_ENV
       - run: echo $GOPATH
-      - run: which go
+      - run: which go || sudo apt install golang-go
       - run: go version
       - run: |
           cd /usr/local