update minimum supported version of Go to 1.12

Go 1.11 is not supported upstream and it also breaks our precious VM for some
reason, so use better versions of Go. Fixes #384.
This commit is contained in:
Roman Khimov 2019-09-10 20:30:54 +03:00
parent 4d7456903b
commit 00a290de07
3 changed files with 1 additions and 19 deletions

View file

@ -3,11 +3,6 @@ orbs:
codecov: codecov/codecov@1.0.5 codecov: codecov/codecov@1.0.5
executors: executors:
go1_11:
docker:
- image: circleci/golang:1.11
environment:
GO111MODULE: "on"
go1_12: go1_12:
docker: docker:
- image: circleci/golang:1.12 - image: circleci/golang:1.12
@ -54,14 +49,6 @@ jobs:
name: go-vet name: go-vet
command: go vet ./... command: go vet ./...
test_1_11:
working_directory: /go/src/github.com/CityOfZion/neo-go
executor: go1_11
steps:
- checkout
- gomod
- run: go test -v -race ./...
test_1_12: test_1_12:
working_directory: /go/src/github.com/CityOfZion/neo-go working_directory: /go/src/github.com/CityOfZion/neo-go
executor: go1_12 executor: go1_12
@ -123,10 +110,6 @@ workflows:
filters: filters:
tags: tags:
only: v/[0-9]+\.[0-9]+\.[0-9]+/ only: v/[0-9]+\.[0-9]+\.[0-9]+/
- test_1_11:
filters:
tags:
only: v/[0-9]+\.[0-9]+\.[0-9]+/
- test_1_12: - test_1_12:
filters: filters:
tags: tags:

View file

@ -1,6 +1,5 @@
language: go language: go
go: go:
- 1.11.x
- 1.12.x - 1.12.x
env: env:
- GO111MODULE=on - GO111MODULE=on

View file

@ -31,7 +31,7 @@ A complete toolkit for the NEO blockchain, including:
## Installation ## Installation
Go: 1.11+ Go: 1.12+
Install dependencies. Install dependencies.