force appveyor to use go 1.11

pull/1269/head
Darien Raymond 2018-08-25 12:50:06 +02:00
parent 8c841a05fb
commit c59c7f5779
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
1 changed files with 5 additions and 2 deletions

View File

@ -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/...