Attempt to fix Appveyor builds
by manually installing Go 1.13
@@ -8,8 +8,11 @@ environment:
clone_folder: c:\gopath\src\goa.design\goa
install:
+ - ps: >-
+ $goDistPath = "$env:TEMP\go1.13.3.windows-amd64.zip"; (New-Object Net.WebClient).DownloadFile('https://dl.google.com/go/go1.13.3.windows-amd64.zip', $goDistPath); 7z x $goDistPath -oC:\go1133-x64 | Out-Null; [IO.Directory]::Move('C:\go1133-x64\go', 'C:\go113'); Remove-Item 'C:\go1133-x64' -Recurse -Force; del $goDistPath
+ - set GOROOT=c:\go113
+ - set PATH=%GOROOT%\bin;c:\msys64\usr\bin;%GOPATH%\bin;%PATH%
- go version
- - set PATH=c:\msys64\usr\bin;%GOPATH%\bin;%PATH%
build_script:
- if "%APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH%" == "" ( make travis GOA_BRANCH="%APPVEYOR_REPO_BRANCH%" ) else ( make travis GOA_BRANCH="%APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH%" )
