platform:
  - x64
  - x86
build_script:
  - if "%platform%" == "x86" call "%VS120COMNTOOLS%\..\..\VC\vcvarsall.bat"
  - if "%platform%" == "x64" "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64
  - if "%platform%" == "x64" call "%VS120COMNTOOLS%\..\..\VC\vcvarsall.bat" x86_amd64
  - copy ares_build.h.dist ares_build.h
  - nmake /f Makefile.msvc
  - cd test
  - nmake /f Makefile.msvc vtest
