mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-15 10:51:45 +03:00
171b359877
Signed-off-by: Tamal Saha <tamal@appscode.com>
24 lines
No EOL
432 B
YAML
24 lines
No EOL
432 B
YAML
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 |