Browse Source

Try using a new version of Visual Studio on AppVeyor

We need to use a new enough version to ensure that constexpr is
available.
Adam Cozzette 7 years ago
parent
commit
fcde518699
1 changed files with 3 additions and 2 deletions
  1. 3 2
      appveyor.yml

+ 3 - 2
appveyor.yml

@@ -10,6 +10,7 @@ configuration:
 environment:
 environment:
   matrix:
   matrix:
     - language: cpp
     - language: cpp
+      image: Visual Studio 2015
       BUILD_DLL: ON
       BUILD_DLL: ON
       UNICODE: ON
       UNICODE: ON
 
 
@@ -32,8 +33,8 @@ install:
   - move gtest gmock
   - move gtest gmock
 
 
 before_build:
 before_build:
-  - if %platform%==Win32 set generator=Visual Studio 12
-  - if %platform%==Win64 set generator=Visual Studio 12 Win64
+  - if %platform%==Win32 set generator=Visual Studio 14
+  - if %platform%==Win64 set generator=Visual Studio 14 Win64
   - if %platform%==Win32 set vcplatform=Win32
   - if %platform%==Win32 set vcplatform=Win32
   - if %platform%==Win64 set vcplatform=x64
   - if %platform%==Win64 set vcplatform=x64