Use Visual Studio 2017 image on appveyor

This commit is contained in:
Victor Zverovich 2017-10-18 08:15:10 -07:00
parent 7174de0d79
commit b8f85f671f
2 changed files with 4 additions and 2 deletions

View File

@ -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)

View File

@ -2,6 +2,8 @@ configuration:
- Debug
- Release
image: Visual Studio 2017
environment:
CTEST_OUTPUT_ON_FAILURE: 1
matrix: