diff appveyor.yml @ 8242:1313d2e282dc v7.4.1414

commit https://github.com/vim/vim/commit/81275ca9ce3059148fdb65dff29f7ecdbca446fb Author: Bram Moolenaar <Bram@vim.org> Date: Wed Feb 24 21:02:20 2016 +0100 patch 7.4.1414 Problem: Appveyor only builds one feature set. Solution: Build a combination of features and GUI/console. (Christian Brabandt)
author Christian Brabandt <cb@256bit.org>
date Wed, 24 Feb 2016 21:15:04 +0100
parents e396c6134266
children acc8029e530f
line wrap: on
line diff
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -1,6 +1,16 @@
 version: "{build}"
 
-skip_tags: true
+environment:
+  matrix:
+    - FEATURE: HUGE
+    - FEATURE: NORMAL
+# disabled
+#    - FEATURE: TINY
+#    - FEATURE: SMALL
+#    - FEATURE: BIG
+
+matrix:
+  fast_finish: true
 
 before_build:
   - '"C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64 /release'
@@ -9,12 +19,14 @@ before_build:
   - reg copy HKLM\SOFTWARE\Python\PythonCore\2.7 HKLM\SOFTWARE\Python\PythonCore\2.7-32 /s /reg:64
 
 build_script:
-  - cd src
-  - sed -e "s/\$(LINKARGS2)/\$(LINKARGS2) | sed -e 's#.*\\\\r.*##'/" Make_mvc.mak > Make_mvc2.mak
-  - nmake -f Make_mvc2.mak CPU=AMD64 GUI=yes IME=yes MBYTE=yes ICONV=yes DEBUG=no PYTHON_VER=27 DYNAMIC_PYTHON=yes PYTHON=C:\Python27-x64 PYTHON3_VER=34 DYNAMIC_PYTHON3=yes PYTHON3=C:\Python34-x64
-  - .\gvim -u NONE -c "redir @a | ver | 0put a | wq!" ver.txt
-  - type ver.txt
+  - src/appveyor.bat
 
 test_script:
-  - cd testdir
+  - cd src/testdir
+    # Testing with MSVC gvim
   - nmake -f Make_dos.mak VIMPROG=..\gvim
+  - nmake -f Make_dos.mak clean
+    # Testing with MingW console version
+  - nmake -f Make_dos.mak VIMPROG=..\vim
+
+# vim: sw=2 sts=2 et ts=2 sr