You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
428 B
24 lines
428 B
5 years ago
|
kind: pipeline
|
||
|
name: go1-1-1
|
||
|
|
||
|
steps:
|
||
|
- name: test
|
||
|
image: golang:1.11
|
||
|
environment:
|
||
|
GOPROXY: https://goproxy.cn
|
||
|
commands:
|
||
|
- go build -v
|
||
|
- go test -v -race -coverprofile=coverage.txt -covermode=atomic
|
||
|
|
||
|
---
|
||
|
kind: pipeline
|
||
|
name: go1-1-2
|
||
|
|
||
|
steps:
|
||
|
- name: test
|
||
|
image: golang:1.12
|
||
|
environment:
|
||
|
GOPROXY: https://goproxy.cn
|
||
|
commands:
|
||
|
- go build -v
|
||
|
- go test -v -race -coverprofile=coverage.txt -covermode=atomic
|