.circleci: add go1.14 tests

This commit is contained in:
Evgenii Stratonikov 2020-03-17 17:11:43 +03:00
parent 396c78c722
commit 4fe8137a41

View file

@ -13,6 +13,11 @@ executors:
- image: circleci/golang:1.13
environment:
GO111MODULE: "on"
go1_14:
docker:
- image: circleci/golang:1.14
environment:
GO111MODULE: "on"
commands:
gomod:
@ -29,7 +34,7 @@ commands:
jobs:
lint:
working_directory: /go/src/github.com/nspcc-dev/neo-go
executor: go1_13
executor: go1_14
steps:
- checkout
- gomod
@ -41,7 +46,7 @@ jobs:
vet:
working_directory: /go/src/github.com/nspcc-dev/neo-go
executor: go1_13
executor: go1_14
steps:
- checkout
- gomod
@ -62,6 +67,16 @@ jobs:
test_1_13:
working_directory: /go/src/github.com/nspcc-dev/neo-go
executor: go1_13
steps:
- checkout
- run: git submodule sync
- run: git submodule update --init
- gomod
- run: go test -v -race ./...
test_1_14:
working_directory: /go/src/github.com/nspcc-dev/neo-go
executor: go1_14
steps:
- checkout
- run: git submodule sync
@ -123,6 +138,10 @@ workflows:
filters:
tags:
only: v/[0-9]+\.[0-9]+\.[0-9]+/
- test_1_14:
filters:
tags:
only: v/[0-9]+\.[0-9]+\.[0-9]+/
- build_cli:
filters:
tags: