forked from TrueCloudLab/neoneo-go
circleci: add Go 1.13 support, use as a reference for coverage
But don't use it for binary builds at the moment.
This commit is contained in:
parent
b8b26d8e79
commit
bd2e347928
1 changed files with 19 additions and 2 deletions
|
@ -13,6 +13,11 @@ executors:
|
||||||
- image: circleci/golang:1.12
|
- image: circleci/golang:1.12
|
||||||
environment:
|
environment:
|
||||||
GO111MODULE: "on"
|
GO111MODULE: "on"
|
||||||
|
go1_13:
|
||||||
|
docker:
|
||||||
|
- image: circleci/golang:1.13
|
||||||
|
environment:
|
||||||
|
GO111MODULE: "on"
|
||||||
|
|
||||||
commands:
|
commands:
|
||||||
gomod:
|
gomod:
|
||||||
|
@ -29,7 +34,7 @@ commands:
|
||||||
jobs:
|
jobs:
|
||||||
lint:
|
lint:
|
||||||
working_directory: /go/src/github.com/CityOfZion/neo-go
|
working_directory: /go/src/github.com/CityOfZion/neo-go
|
||||||
executor: go1_12
|
executor: go1_13
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- gomod
|
- gomod
|
||||||
|
@ -41,7 +46,7 @@ jobs:
|
||||||
|
|
||||||
vet:
|
vet:
|
||||||
working_directory: /go/src/github.com/CityOfZion/neo-go
|
working_directory: /go/src/github.com/CityOfZion/neo-go
|
||||||
executor: go1_12
|
executor: go1_13
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- gomod
|
- gomod
|
||||||
|
@ -60,6 +65,14 @@ jobs:
|
||||||
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
|
||||||
|
steps:
|
||||||
|
- checkout
|
||||||
|
- gomod
|
||||||
|
- run: go test -v -race ./...
|
||||||
|
|
||||||
|
test_1_13:
|
||||||
|
working_directory: /go/src/github.com/CityOfZion/neo-go
|
||||||
|
executor: go1_13
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- gomod
|
- gomod
|
||||||
|
@ -118,6 +131,10 @@ workflows:
|
||||||
filters:
|
filters:
|
||||||
tags:
|
tags:
|
||||||
only: v/[0-9]+\.[0-9]+\.[0-9]+/
|
only: v/[0-9]+\.[0-9]+\.[0-9]+/
|
||||||
|
- test_1_13:
|
||||||
|
filters:
|
||||||
|
tags:
|
||||||
|
only: v/[0-9]+\.[0-9]+\.[0-9]+/
|
||||||
- build_cli:
|
- build_cli:
|
||||||
filters:
|
filters:
|
||||||
tags:
|
tags:
|
||||||
|
|
Loading…
Reference in a new issue