version: 0.10.0.{build}

branches:
  except:
    - gh-pages

image: Visual Studio 2015

configuration:
  - Debug
  - Release

before_build:
  - cmake . -DSAL_UNITTESTS=yes -G "Visual Studio 14 2015 Win64"

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

test_script:
  - ps: scripts\appveyor_test_script.ps1 -Config %CONFIGURATION% -Output unittests.xml

on_finish:
  - ps: (New-Object "Net.WebClient").UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\unittests.xml))

version: 0.10.0.{build}

branches:
  except:
    - gh-pages

image: Visual Studio 2017

configuration:
  - Debug
  - Release

before_build:
  - cmake . -DSAL_UNITTESTS=yes -G "Visual Studio 15 2017 Win64"

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

test_script:
  - ps: scripts\appveyor_test_script.ps1 -Config %CONFIGURATION% -Output unittests.xml

on_finish:
  - ps: (New-Object "Net.WebClient").UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\unittests.xml))

Update MSVC builds to VS 2017
Update MSVC builds to VS 2017
