version: "{build}"

platform:
  - x86
  - x64

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

environment:
  GOPATH: c:\gopath

install:
   # pre-installed MinGW at C:\MinGW is 32bit only
   # but MSYS2 at C:\msys64 has mingw64
  - IF "%PLATFORM%" == "x86" set PATH='C:\mingw\bin;%PATH%'
  - IF "%PLATFORM%" == "x64" set PATH='C:\msys64\mingw64\bin;%PATH%'
  - DIR c:\mingw\bin
  - DIR C:\MinGW\bin
  - DIR C:\msys64
  - DIR C:\msys64\mingw64
  - DIR C:\msys64\mingw64\bin
  - DIR C:\mingw-w64\i686-5.3.0-posix-dwarf-rt_v4-rev0
  - DIR C:\mingw-w64\i686-5.3.0-posix-dwarf-rt_v4-rev0\bin
  - echo %PATH%
  - go version
  - go env

build_script:
  - go get -v -t ./...

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

version: "{build}"

platform:
  - x86
  - x64

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

environment:
  GOPATH: c:\gopath

install:
   # pre-installed MinGW at C:\MinGW is 32bit only
   # but MSYS2 at C:\msys64 has mingw64
  - IF "%PLATFORM%" == "x86" set PATH=C:\MinGW\bin;%PATH%
  - IF "%PLATFORM%" == "x64" set PATH=C:\msys64\mingw64\bin;%PATH%
  - echo %PATH%
  - go version
  - go env

build_script:
  - go get -v -t ./...

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

Remove Dir tests and quotes from set path
Remove Dir tests and quotes from set path
