mirror of https://github.com/go-gitea/gitea
Git with a cup of tea, painless self-hosted git service
Mirror for internal git.with.parts use
https://git.with.parts
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.
23 lines
388 B
23 lines
388 B
---
|
|
kind: pipeline
|
|
name: test
|
|
|
|
workspace:
|
|
base: /go
|
|
path: src/gitea.com/lunny/levelqueue
|
|
|
|
steps:
|
|
- name: test
|
|
pull: default
|
|
image: golang:1.13
|
|
commands:
|
|
- go get -t -d -v ./...
|
|
- go build -v
|
|
- go test -v -race -coverprofile=coverage.txt -covermode=atomic
|
|
environment:
|
|
GO111MODULE: "on"
|
|
GOPROXY: https://goproxy.cn
|
|
when:
|
|
event:
|
|
- push
|
|
- pull_request |