mirror of https://github.com/go-gitea/gitea.git
24 lines
426 B
YAML
24 lines
426 B
YAML
kind: pipeline
|
|
name: go1-14
|
|
|
|
steps:
|
|
- name: test
|
|
image: golang:1.14
|
|
environment:
|
|
GOPROXY: https://goproxy.cn
|
|
commands:
|
|
- go build -v
|
|
- go test -v -race -coverprofile=coverage.txt -covermode=atomic
|
|
|
|
---
|
|
kind: pipeline
|
|
name: go1-15
|
|
|
|
steps:
|
|
- name: test
|
|
image: golang:1.15
|
|
environment:
|
|
GOPROXY: https://goproxy.cn
|
|
commands:
|
|
- go build -v
|
|
- go test -v -race -coverprofile=coverage.txt -covermode=atomic |