mirror of
https://gitea.com/gitea/tea.git
synced 2024-11-25 12:01:36 +01:00
GOPROXY: https://goproxy.io
This commit is contained in:
parent
0970b94552
commit
40e606561f
10
.drone.yml
10
.drone.yml
@ -11,7 +11,7 @@ steps:
|
|||||||
pull: always
|
pull: always
|
||||||
image: golang:1.17
|
image: golang:1.17
|
||||||
environment:
|
environment:
|
||||||
GOPROXY: https://goproxy.cn
|
GOPROXY: https://goproxy.io # proxy.golang.org is blocked in China, this proxy is not
|
||||||
commands:
|
commands:
|
||||||
- make clean
|
- make clean
|
||||||
- make vet
|
- make vet
|
||||||
@ -32,6 +32,8 @@ steps:
|
|||||||
- make unit-test-coverage
|
- make unit-test-coverage
|
||||||
settings:
|
settings:
|
||||||
group: test
|
group: test
|
||||||
|
environment:
|
||||||
|
GOPROXY: https://goproxy.io # proxy.golang.org is blocked in China, this proxy is not
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- master
|
- master
|
||||||
@ -45,6 +47,8 @@ steps:
|
|||||||
- make test
|
- make test
|
||||||
settings:
|
settings:
|
||||||
group: test
|
group: test
|
||||||
|
environment:
|
||||||
|
GOPROXY: https://goproxy.io # proxy.golang.org is blocked in China, this proxy is not
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- "release/*"
|
- "release/*"
|
||||||
@ -59,6 +63,8 @@ steps:
|
|||||||
- make test
|
- make test
|
||||||
settings:
|
settings:
|
||||||
group: test
|
group: test
|
||||||
|
environment:
|
||||||
|
GOPROXY: https://goproxy.io # proxy.golang.org is blocked in China, this proxy is not
|
||||||
when:
|
when:
|
||||||
event:
|
event:
|
||||||
- tag
|
- tag
|
||||||
@ -66,7 +72,7 @@ steps:
|
|||||||
- name: static
|
- name: static
|
||||||
image: golang:1.17
|
image: golang:1.17
|
||||||
environment:
|
environment:
|
||||||
GOPROXY: https://goproxy.cn
|
GOPROXY: https://goproxy.io # proxy.golang.org is blocked in China, this proxy is not
|
||||||
commands:
|
commands:
|
||||||
- export PATH=$PATH:$GOPATH/bin
|
- export PATH=$PATH:$GOPATH/bin
|
||||||
- make release
|
- make release
|
||||||
|
Loading…
Reference in New Issue
Block a user