CI config improvements.

This commit is contained in:
Stanislav Nikitin 2020-11-21 21:30:23 +05:00
parent 3d8d3e478c
commit 9c47d00044
No known key found for this signature in database
GPG Key ID: 106900B32F8192EE

View File

@ -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 ./...