This commit is contained in:
Minho 2017-06-02 17:36:07 +08:00
parent 16df70fd87
commit 6e3bfbec05

View File

@ -21,21 +21,18 @@ install:
{
Start-FileDownload "http://libgd.blob.core.windows.net/mingw/x86_64-4.9.1-release-posix-seh-rt_v3-rev1.7z" -FileName mingw_x86_64.7z;
7z x -oC:\ mingw_x86_64.7z | out-null;
go get github.com/Masterminds/glide;
}
- ps: if($env:tbs_tools -eq 'mingw' -and $env:tbs_arch -eq 'x86')
{
Start-FileDownload "http://libgd.blob.core.windows.net/mingw/i686-4.9.1-release-posix-dwarf-rt_v3-rev1.7z" -FileName mingw_x86.7z;
7z x -oC:\ mingw_x86.7z | out-null;
set GOARCH=amd64 ;
go get github.com/Masterminds/glide;
}
- set GOBIN=c:\go\bin
- set PATH=%GOBIN%;%PATH%
- echo %PATH%
- echo %GOPATH%
- go version
- go env
- go get github.com/Masterminds/glide;
build_script:
- if [%tbs_tools%]==[mingw] if [%tbs_arch%]==[x86] SET PATH=C:\mingw32\bin;%PATH%