Try to fix VS2015 appveyor builds.

This commit is contained in:
Egor Pugin 2018-05-29 19:19:12 +03:00 committed by GitHub
parent 0c50ae3a9c
commit 8d3f8111f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,9 @@
image:
- Visual Studio 2015
- Visual Studio 2017
environment:
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
vs_ver: 14 2015
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
vs_ver: 15 2017
platform:
- Win32
@ -17,8 +20,8 @@ install:
- set PATH=C:\Program Files\Git\mingw64\bin;%PATH%
before_build:
- if %platform%==Win32 set generator=Visual Studio 15 2017
- if %platform%==Win64 set generator=Visual Studio 15 2017 Win64
- if %platform%==Win32 set generator=Visual Studio %vs_ver%
- if %platform%==Win64 set generator=Visual Studio %vs_ver% Win64
- if %platform%==Win32 set vcplatform=Win32
- if %platform%==Win64 set vcplatform=x64