Test with different MSVC versions on Appveyor

Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/b8e4b5e4
Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/b8e4b5e4
Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/b8e4b5e4

Branch: refs/heads/master
Commit: b8e4b5e4348d9385ec4ff9f77a0262ebed6392bf
Parents: 66440bb
Author: Nick Wellnhofer <wellnho...@aevum.de>
Authored: Mon Jun 1 11:57:12 2015 +0200
Committer: Nick Wellnhofer <wellnho...@aevum.de>
Committed: Tue Jun 2 13:02:08 2015 +0200

----------------------------------------------------------------------
 appveyor.yml                 | 3 +++
 devel/bin/appveyor-build.bat | 8 ++++++++
 2 files changed, 11 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/b8e4b5e4/appveyor.yml
----------------------------------------------------------------------
diff --git a/appveyor.yml b/appveyor.yml
index 82a82cc..d8c3076 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -3,6 +3,9 @@ environment:
     LUCY_DEBUG: 1
   matrix:
     - CLOWNFISH_HOST: c
+      MSVC_VERSION: 10
+    - CLOWNFISH_HOST: c
+      MSVC_VERSION: 12
 #    - CLOWNFISH_HOST: perl
 
 build: off

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/b8e4b5e4/devel/bin/appveyor-build.bat
----------------------------------------------------------------------
diff --git a/devel/bin/appveyor-build.bat b/devel/bin/appveyor-build.bat
index 0e009b9..b7d05e6 100644
--- a/devel/bin/appveyor-build.bat
+++ b/devel/bin/appveyor-build.bat
@@ -8,8 +8,16 @@ exit /b 1
 
 :test_c
 
+if "%MSVC_VERSION%" == "10" goto msvc_10
+
+call "C:\Program Files (x86)\Microsoft Visual Studio 
%MSVC_VERSION%.0\VC\vcvarsall.bat" amd64
+goto msvc_build
+
+:msvc_10
 call "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64
 
+:msvc_build
+
 cd compiler\c
 call configure && nmake && nmake test || exit /b
 

Reply via email to