浏览代码

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 年之前
父节点
当前提交
fcde518699
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      appveyor.yml

+ 3 - 2
appveyor.yml

@@ -10,6 +10,7 @@ configuration:
 environment:
   matrix:
     - language: cpp
+      image: Visual Studio 2015
       BUILD_DLL: ON
       UNICODE: ON
 
@@ -32,8 +33,8 @@ install:
   - move gtest gmock
 
 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%==Win64 set vcplatform=x64