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