version: "{build}"

platform:
  - x86
  - x64

clone_folder: c:\gopath\src\github.com\vlifesystems\rulehuntersrv

environment:
  GOPATH: c:\gopath

install:
  - IF "%PLATFORM%" == "x86" set PATH=C:\go-x86\bin;C:\MinGW\bin;%PATH%
  - IF "%PLATFORM%" == "x64" set PATH=C:\msys64\mingw64\bin;%PATH%
  - echo %PATH%
  - go version
  - go env
  - go get -v -t ./...

build_script:
  - go install -v ./...

test_script:
  - go test -v ./...

version: "{build}"

platform:
  - x86
  - x64

clone_folder: c:\gopath\src\github.com\vlifesystems\rulehuntersrv

environment:
  GOPATH: c:\gopath
  GOROOT: c:\go-x86

install:
  - IF "%PLATFORM%" == "x86" set PATH=%GOROOT%\bin;C:\MinGW\bin;%PATH%
  - IF "%PLATFORM%" == "x64" set PATH=C:\msys64\mingw64\bin;%PATH%
  - echo %PATH%
  - go version
  - go env
  - go get -v -t ./...

build_script:
  - go install -v ./...

test_script:
  - go test -v ./...

Update GOROOT to point to c:\go-x86
Update GOROOT to point to c:\go-x86
