version: '{branch}.{build}'
configuration: RelWithDebInfo
install:
- cinst -y swig
cache:
- C:\ProgramData\chocolatey\bin -> appveyor.yml
- C:\ProgramData\chocolatey\lib -> appveyor.yml
before_build:
- mkdir BLD
- cd BLD
- cmake -G "Visual Studio 12" -DBUILD_PERL=no -DBUILD_JAVA=no ..
- cd ..
build:
  parallel: true
  verbosity: normal
test_script:
- cd BLD
- cmake --build . --target install --config %CONFIGURATION%
- ctest -V -C %CONFIGURATION%
- cd ..
