add goproxy

This commit is contained in:
Lunny Xiao 2019-08-07 22:28:42 +08:00
parent ec8016b753
commit 93ec44a859
No known key found for this signature in database
GPG Key ID: C3B7C91B632F738A
1 changed files with 6 additions and 8 deletions

View File

@ -168,10 +168,8 @@ steps:
pull: default pull: default
image: golang:1.11 image: golang:1.11
commands: commands:
- go get -t -d -v ./... - GO111MODULE=off go build -v
- go get -u xorm.io/core - GO111MODULE=on go build -v
- go get -u xorm.io/builder
- go build -v
when: when:
event: event:
- push - push
@ -303,11 +301,11 @@ steps:
- name: build - name: build
pull: default pull: default
image: golang:1.12 image: golang:1.12
environment:
GOPROXY: "https://goproxy.cn"
commands: commands:
- go get -t -d -v ./... - GO111MODULE=off go build -v
- go get -u xorm.io/core - GO111MODULE=on go build -v
- go get -u xorm.io/builder
- go build -v
when: when:
event: event:
- push - push