add goflags readonly

This commit is contained in:
Ajitem Sahasrabuddhe 2019-10-19 09:54:59 +05:30
parent b776c20ef3
commit d8a42a7753
No known key found for this signature in database
GPG Key ID: 782DEBC01D3967A5
2 changed files with 2 additions and 2 deletions

View File

@ -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:

View File

@ -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%