mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-15 09:47:39 +08:00
8d2059a201
Co-authored-by: zeripath <art27@cantab.net>
24 lines
428 B
YAML
24 lines
428 B
YAML
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
|
|
|
|
---
|
|
kind: pipeline
|
|
name: go1-1-3
|
|
|
|
steps:
|
|
- name: test
|
|
image: golang:1.13
|
|
environment:
|
|
GOPROXY: https://goproxy.cn
|
|
commands:
|
|
- go build -v
|
|
- go test -v -race -coverprofile=coverage.txt -covermode=atomic |