Progmasoft Git

catch3

Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.

Clonegit clone https://git.progmasoft.com/catch3

Enable /std:c++latest (C++17) for AppVeyor VS 2017

Commit
8f0feaa6d2748fb4d4916df922473026f65db4db
Author
Martin Hořeňovský ·
Parents
b95163bd3a76

Files · Download .tar.gz

Changes

 appveyor.yml | 25 +++++++++++++++++--------
 1 file changed, 17 insertions(+), 8 deletions(-)

diff --git a/appveyor.yml b/appveyor.yml
index 53ea97a6..f6fce08a 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -1,15 +1,24 @@
 # version string format -- This will be overwritten later anyway
 version: "{build}"
 
-# Disable the dead branch for v2 development
-branches:
-    except:
-        - develop-v2
-
 os:
-  - Visual Studio 2013
-  - Visual Studio 2015
   - Visual Studio 2017
+  - Visual Studio 2015
+  - Visual Studio 2013
+
+environment:
+    matrix:
+        - additional_flags: "/permissive- /std:c++latest"
+        - additional_flags: ""
+
+matrix:
+    exclude:
+        -
+            additional_flags: "/permissive- /std:c++latest"
+            os: Visual Studio 2015
+        -
+            additional_flags: "/permissive- /std:c++latest"
+            os: Visual Studio 2013
 
 init:
   - git config --global core.autocrlf input
@@ -32,7 +41,7 @@ configuration:
 
 #Cmake will autodetect the compiler, but we set the arch
 before_build:
-  - echo Running cmake...
+  - set CXXFLAGS=%additional_flags%
   - cmake -H. -BBuild -A%PLATFORM%
 
 # build with MSBuild