image: Visual Studio 2017

matrix:
  fast_finish: false

branches:
  only:
    - master
    - /^\d+\.\d+(\.\d+)?(-\S*)?$/

platform:
  - x64

configuration:
  - Debug
  - Release

install:
  - git submodule update --init --recursive

before_build:
  - choco upgrade cmake --version 3.13.0
  - set path=C:\Program Files\CMake\bin;%path%
  - cmake -G "Visual Studio 15 2017 Win64" -DBUILD_TESTS=1 .

build:
  project: $(APPVEYOR_BUILD_FOLDER)\$(APPVEYOR_PROJECT_NAME).sln

test_script:
  - ctest --output-on-failure

image: Visual Studio 2017

matrix:
  fast_finish: false

branches:
  only:
    - master
    - /^\d+\.\d+(\.\d+)?(-\S*)?$/

platform:
  - x64

configuration:
  - Debug
  - Release

install:
  - git submodule update --init --recursive

before_build:
  - choco upgrade cmake --version 3.13.0
  - set path=C:\Program Files\CMake\bin;%path%
  - cmake -G "Visual Studio 15 2017 Win64" -DBUILD_TESTS=1 .

build:
  project: $(APPVEYOR_BUILD_FOLDER)\$(APPVEYOR_PROJECT_NAME).sln

after_build:
  - test/json_parser_string
  - echo Exit code is %errorlevel%

test_script:
  - ctest --output-on-failure

Print the result of failing test in Windows for now
Print the result of failing test in Windows for now
