CI config improvements.
This commit is contained in:
parent
3d8d3e478c
commit
9c47d00044
@ -1,3 +1,5 @@
|
||||
image: golangci/golangci-lint:v1.32.2
|
||||
|
||||
stages:
|
||||
- test
|
||||
|
||||
@ -5,6 +7,29 @@ lint:
|
||||
stage: test
|
||||
tags:
|
||||
- docker
|
||||
image: golangci/golangci-lint:v1.32.2
|
||||
script:
|
||||
- golangci-lint run
|
||||
|
||||
test-1.15:
|
||||
stage: test
|
||||
tags:
|
||||
- docker
|
||||
image: golang:1.15
|
||||
script:
|
||||
- go test -test.v ./...
|
||||
|
||||
test-1.14:
|
||||
stage: test
|
||||
tags:
|
||||
- docker
|
||||
image: golang:1.14
|
||||
script:
|
||||
- go test -test.v ./...
|
||||
|
||||
test-1.13:
|
||||
stage: test
|
||||
tags:
|
||||
- docker
|
||||
image: golang:1.13
|
||||
script:
|
||||
- go test -test.v ./...
|
||||
|
Loading…
Reference in New Issue
Block a user