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