diff --git a/appveyor.yml b/appveyor.yml index 801fe6bd..df1f5f5e 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -10,13 +10,16 @@ branches: version: "1.0.{build}" -stack: "go 1.11" - environment: global: GOPATH: C:\gopath + GOVERSION: "1.11" install: + - set PATH=%GOPATH%\bin;c:\go\bin;%PATH% + - rmdir c:\go /s /q + - appveyor DownloadFile https://storage.googleapis.com/golang/go%GOVERSION%.windows-amd64.zip + - 7z x go%GOVERSION%.windows-amd64.zip -y -oC:\ > NUL - go version - go get -u v2ray.com/core/... - go get -u v2ray.com/ext/...