version: '{branch}-{build}'

os:
- Visual Studio 2017

services:
- postgresql96

configuration:
- Release
- Debug

environment:
  PGUSER: postgres
  PGPASSWORD: Password12!
  matrix:
    - GENERATOR: Visual Studio 15 2017 Win64
    - CONAN_VISUAL_VERSIONS: 15

init: []

install: []

before_build:
- if defined BINDIR (set "PATH=%BINDIR%;%PATH:C:\Program Files\Git\usr\bin;=%")
- md build
- cd build
- cmake -Wno-dev --config "%CONFIGURATION%" -G "%GENERATOR%" ..

build_script:
- cmake --build . --config "%CONFIGURATION%"

test_script:
- PATH=C:\Program Files\PostgreSQL\9.6\bin\;%PATH%
- ctest -C "%CONFIGURATION%" --output-on-failure

for:
  -
    matrix:
      only:
        - CONAN_VISUAL_VERSIONS: 15
    environment:
      APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
      PYTHON: "C:\\Python37"
      CONAN_BUILD_TYPES: "%CONFIGURATION%"
    build: false
    install:
      - set PATH=%PATH%;%PYTHON%/Scripts/
      - pip.exe install --upgrade conan conan_package_tools
    test_script:
      - python .conan/build.py


version: '{branch}-{build}'

os:
- Visual Studio 2017

services:
- postgresql96

configuration:
- Release
- Debug

environment:
  PGUSER: postgres
  PGPASSWORD: Password12!

init: []

install: []

before_build:
- if defined BINDIR (set "PATH=%BINDIR%;%PATH:C:\Program Files\Git\usr\bin;=%")
- md build
- cd build
- cmake -Wno-dev --config "%CONFIGURATION%" -G "%GENERATOR%" ..

build_script:
- cmake --build . --config "%CONFIGURATION%"

test_script:
- PATH=C:\Program Files\PostgreSQL\9.6\bin\;%PATH%
- ctest -C "%CONFIGURATION%" --output-on-failure

Drop Windows build from Appveyor
Drop Windows build from Appveyor

Signed-off-by: Uilian Ries <d4bad57018205bdda203549c36d3feb0bfe416a7@gmail.com>
