add goflags readonly
This commit is contained in:
parent
b776c20ef3
commit
d8a42a7753
@ -12,8 +12,7 @@ os:
|
|||||||
- osx
|
- osx
|
||||||
|
|
||||||
env:
|
env:
|
||||||
GO111MODULE=on
|
GO111MODULE=on GOPROXY=https://proxy.golang.org GOFLAGS=-mod=readonly
|
||||||
GOPROXY=https://proxy.golang.org
|
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
|
@ -14,6 +14,7 @@ environment:
|
|||||||
GOVERSION: 1.11.x
|
GOVERSION: 1.11.x
|
||||||
GO111MODULE: on
|
GO111MODULE: on
|
||||||
GOPROXY: https://proxy.golang.org
|
GOPROXY: https://proxy.golang.org
|
||||||
|
GOFLAGS: -mod=readonly
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- set PATH=%GOPATH%\bin;C:\go\bin;%PATH%
|
- set PATH=%GOPATH%\bin;C:\go\bin;%PATH%
|
||||||
|
Loading…
Reference in New Issue
Block a user