2021-10-14 02:50:23 +00:00
|
|
|
---
|
2019-08-23 16:40:30 +00:00
|
|
|
kind: pipeline
|
2021-10-14 02:50:23 +00:00
|
|
|
name: go1-13
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: arm64
|
2019-08-23 16:40:30 +00:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: test
|
2021-10-14 02:50:23 +00:00
|
|
|
image: golang:1.13
|
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
|
2021-10-14 02:50:23 +00:00
|
|
|
name: go1-16
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: arm64
|
2019-08-23 16:40:30 +00:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: test
|
2021-10-14 02:50:23 +00:00
|
|
|
image: golang:1.16
|
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
|