2020-02-28 04:51:18 -05:00
|
|
|
kind: pipeline
|
2020-08-27 21:47:17 -05:00
|
|
|
name: go1-14
|
2020-02-28 04:51:18 -05:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: test
|
2020-08-27 21:47:17 -05:00
|
|
|
image: golang:1.14
|
2020-02-28 04:51:18 -05:00
|
|
|
environment:
|
|
|
|
GOPROXY: https://goproxy.cn
|
|
|
|
commands:
|
|
|
|
- go build -v
|
|
|
|
- go test -v -race -coverprofile=coverage.txt -covermode=atomic
|
|
|
|
|
|
|
|
---
|
|
|
|
kind: pipeline
|
2020-08-27 21:47:17 -05:00
|
|
|
name: go1-15
|
2020-02-28 04:51:18 -05:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: test
|
2020-08-27 21:47:17 -05:00
|
|
|
image: golang:1.15
|
2020-02-28 04:51:18 -05:00
|
|
|
environment:
|
|
|
|
GOPROXY: https://goproxy.cn
|
|
|
|
commands:
|
|
|
|
- go build -v
|
|
|
|
- go test -v -race -coverprofile=coverage.txt -covermode=atomic
|