From c59c7f577948d222fd3fe43e5188b9cc7884dd17 Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Sat, 25 Aug 2018 12:50:06 +0200 Subject: [PATCH] force appveyor to use go 1.11 --- appveyor.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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/...