Add GOPROXY and GOSUMDB #19

Merged
lunny merged 1 commits from zeripath/log:goproxy into master 2 years ago
  1. 3
      .drone.yml

3
.drone.yml

@ -8,6 +8,9 @@ steps: @@ -8,6 +8,9 @@ steps:
- 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

Loading…
Cancel
Save