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