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