Andrew Thornton
ffe67e7e71
All checks were successful
continuous-integration/drone/push Build is passing
Placate the CCP Signed-off-by: Andrew Thornton <art27@cantab.net> Reviewed-on: #19 Reviewed-by: 6543 <6543@noreply.gitea.io> Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
17 lines
372 B
YAML
17 lines
372 B
YAML
kind: pipeline
|
|
name: default
|
|
|
|
steps:
|
|
- name: test
|
|
image: golang:1.13
|
|
commands:
|
|
- go get -t -d -v ./...
|
|
- go build -v
|
|
- go test -v -race -coverprofile=coverage.txt -covermode=atomic
|
|
environment:
|
|
GOPROXY: https://goproxy.cn # proxy.golang.org is blocked in China, this proxy is not
|
|
GOSUMDB: sum.golang.org
|
|
when:
|
|
event:
|
|
- pull_request
|
|
- push |