2020-11-21 21:30:23 +05:00
|
|
|
image: golangci/golangci-lint:v1.32.2
|
|
|
|
|
2020-11-21 21:25:16 +05:00
|
|
|
stages:
|
|
|
|
- test
|
|
|
|
|
|
|
|
lint:
|
|
|
|
stage: test
|
|
|
|
tags:
|
|
|
|
- docker
|
|
|
|
script:
|
|
|
|
- golangci-lint run
|
2020-11-21 21:30:23 +05:00
|
|
|
|
|
|
|
test-1.15:
|
|
|
|
stage: test
|
|
|
|
tags:
|
|
|
|
- docker
|
|
|
|
image: golang:1.15
|
|
|
|
script:
|
2020-11-21 21:40:14 +05:00
|
|
|
- go test -test.v -cover ./...
|
2020-11-21 21:30:23 +05:00
|
|
|
|
|
|
|
test-1.14:
|
|
|
|
stage: test
|
|
|
|
tags:
|
|
|
|
- docker
|
|
|
|
image: golang:1.14
|
|
|
|
script:
|
2020-11-21 21:40:14 +05:00
|
|
|
- go test -test.v -cover ./...
|
2020-11-21 21:30:23 +05:00
|
|
|
|
|
|
|
test-1.13:
|
|
|
|
stage: test
|
|
|
|
tags:
|
|
|
|
- docker
|
|
|
|
image: golang:1.13
|
|
|
|
script:
|
2020-11-21 21:40:14 +05:00
|
|
|
- go test -test.v -cover ./...
|