This repository has been archived on 2020-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
log/.drone.yml
Andrew Thornton ffe67e7e71
All checks were successful
continuous-integration/drone/push Build is passing
Add GOPROXY and GOSUMDB (#19)
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>
2020-04-08 14:31:12 +00:00

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