image: Visual Studio 2017

clone_depth: 10

platform:
  - x64

environment:
  APPVEYOR_SAVE_CACHE_ON_ERROR: true

init:
  - if /i %APPVEYOR_REPO_TAG% == true    set VERSION=%APPVEYOR_REPO_TAG_NAME%
  
cache:
  - qtcreator-latest\compiled
  
install:
  - call "util\win\prepare.bat"
  
build_script:
  - call "util\win\build.bat"

artifacts:
  - path: 'QtcDbViewer-*.zip'
    name: archive

deploy:
  - provider: GitHub
    description: ''
    auth_token:
      secure: NnyUV44yNAx8ea1L46dVhE4kQxUGd5M1O+yVk+9ncsNHWtw/9JoCnDqNybnxTccP
    artifact: archive
    force_update: true
    on:
      appveyor_repo_tag: true

image: Visual Studio 2015

clone_depth: 10

platform:
  - x86

environment:
  APPVEYOR_SAVE_CACHE_ON_ERROR: true

init:
  - if /i %APPVEYOR_REPO_TAG% == true    set VERSION=%APPVEYOR_REPO_TAG_NAME%
  
cache:
  - qtcreator-latest\compiled
  
install:
  - call "util\win\prepare.bat"
  
build_script:
  - call "util\win\build.bat"

artifacts:
  - path: 'QtcDbViewer-*.zip'
    name: archive

deploy:
  - provider: GitHub
    description: ''
    auth_token:
      secure: NnyUV44yNAx8ea1L46dVhE4kQxUGd5M1O+yVk+9ncsNHWtw/9JoCnDqNybnxTccP
    artifact: archive
    force_update: true
    on:
      appveyor_repo_tag: true

Revert windows ci back to msvc 2015.
Revert windows ci back to msvc 2015.
