0
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-23 22:27:38 -05:00

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
This commit is contained in:
Matt Holt 2018-09-07 15:11:25 -06:00 committed by GitHub
parent d47b041923
commit 7ed7a95524
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,17 +10,16 @@ clone_folder: c:\gopath\src\github.com\mholt\caddy
environment: environment:
GOPATH: c:\gopath GOPATH: c:\gopath
stack: go 1.11
install: 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=%GOPATH%\bin;%PATH%
- set PATH=C:\msys64\mingw64\bin;%PATH%
- go version - go version
- go env - go env
- go get -t ./... - go get -t ./...
- go get github.com/golang/lint/golint - go get github.com/golang/lint/golint
- go get github.com/FiloSottile/vendorcheck - go get github.com/FiloSottile/vendorcheck
# Install gometalinter
- go get github.com/alecthomas/gometalinter - go get github.com/alecthomas/gometalinter
build: off build: off