From 7ed7a95524d8fe189fcb989c6b171056ee9cc21a Mon Sep 17 00:00:00 2001 From: Matt Holt Date: Fri, 7 Sep 2018 15:11:25 -0600 Subject: [PATCH] Fix AppVeyor builds (#2289) * Attempting to fix AppVeyor builds * Trying again, 2015 image this time * Use Appveyor's Go 1.11 stack * Restore GOPATH\bin to PATH and delete old image config * Add gcc to path manually --- appveyor.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 4a79f8374..54d5bf84e 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -10,17 +10,16 @@ clone_folder: c:\gopath\src\github.com\mholt\caddy environment: GOPATH: c:\gopath +stack: go 1.11 + install: - - rmdir c:\go /s /q - - appveyor DownloadFile https://storage.googleapis.com/golang/go1.11.windows-amd64.zip - - 7z x go1.11.windows-amd64.zip -y -oC:\ > NUL - set PATH=%GOPATH%\bin;%PATH% + - set PATH=C:\msys64\mingw64\bin;%PATH% - go version - go env - go get -t ./... - go get github.com/golang/lint/golint - go get github.com/FiloSottile/vendorcheck - # Install gometalinter - go get github.com/alecthomas/gometalinter build: off