From b8f85f671f840733056a00c4ed708a6800e9361d Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Wed, 18 Oct 2017 08:15:10 -0700 Subject: [PATCH] Use Visual Studio 2017 image on appveyor --- support/appveyor-build.py | 4 ++-- support/appveyor.yml | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/support/appveyor-build.py b/support/appveyor-build.py index 3b747f3c..cd6324fe 100755 --- a/support/appveyor-build.py +++ b/support/appveyor-build.py @@ -20,8 +20,8 @@ if build == 'mingw': else: # Add MSBuild 14.0 to PATH as described in # http://help.appveyor.com/discussions/problems/2229-v140-not-found-on-vs2105rc. - os.environ['PATH'] = r'C:\Program Files (x86)\MSBuild\14.0\Bin;' + path - generator = 'Visual Studio 14 2015' + os.environ['PATH'] = r'C:\Program Files (x86)\MSBuild\15.0\Bin;' + path + generator = 'Visual Studio 15 2017' if platform == 'x64': generator += ' Win64' cmake_command.append('-G' + generator) diff --git a/support/appveyor.yml b/support/appveyor.yml index a651c525..71c5349f 100644 --- a/support/appveyor.yml +++ b/support/appveyor.yml @@ -2,6 +2,8 @@ configuration: - Debug - Release +image: Visual Studio 2017 + environment: CTEST_OUTPUT_ON_FAILURE: 1 matrix: