2019-08-23 16:40:30 +00:00
|
|
|
kind: pipeline
|
2020-11-03 06:04:09 +00:00
|
|
|
name: golang-1-14
|
2019-08-23 16:40:30 +00:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: test
|
2020-11-03 06:04:09 +00:00
|
|
|
image: golang:1.14
|
2019-08-23 16:40:30 +00:00
|
|
|
environment:
|
|
|
|
GOPROXY: https://goproxy.cn
|
|
|
|
commands:
|
|
|
|
- go build -v
|
|
|
|
- go test -v -race -coverprofile=coverage.txt -covermode=atomic
|
|
|
|
|
|
|
|
---
|
|
|
|
kind: pipeline
|
2020-11-03 06:04:09 +00:00
|
|
|
name: golang-1-15
|
2019-08-23 16:40:30 +00:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: test
|
2020-11-03 06:04:09 +00:00
|
|
|
image: golang:1.15
|
2019-08-23 16:40:30 +00:00
|
|
|
environment:
|
|
|
|
GOPROXY: https://goproxy.cn
|
|
|
|
commands:
|
|
|
|
- go build -v
|
|
|
|
- go test -v -race -coverprofile=coverage.txt -covermode=atomic
|