aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--appveyor.yml49
1 files changed, 39 insertions, 10 deletions
diff --git a/appveyor.yml b/appveyor.yml
index a4a47f54..5d4e1a7b 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -2,34 +2,64 @@ version: 3.0.0.{build}-test
2 2
3shallow_clone: true 3shallow_clone: true
4 4
5matrix:
6 fast_finish: true
7
5environment: 8environment:
6 LUAROCKS_VER: 3.0.0 9 LUAROCKS_VER: 3.0.0
7 10
8 matrix: 11 matrix:
12 # Unit tests
9 - LUA: "lua 5.1" 13 - LUA: "lua 5.1"
10 COMPILER: "vs" 14 COMPILER: "vs"
11 FILES: "" 15 FILES: ""
12 - LUA: "lua 5.1" 16 EXCLUDE: "integration"
13 COMPILER: "mingw"
14 FILES: "spec//build_spec.lua"
15 - LUA: "lua 5.2" 17 - LUA: "lua 5.2"
16 COMPILER: "vs" 18 COMPILER: "vs"
17 FILES: "" 19 FILES: ""
18 - LUA: "lua 5.2" 20 EXCLUDE: "integration"
19 COMPILER: "mingw"
20 FILES: "spec//build_spec.lua"
21 - LUA: "lua 5.3" 21 - LUA: "lua 5.3"
22 COMPILER: "vs" 22 COMPILER: "vs"
23 FILES: "" 23 FILES: ""
24 EXCLUDE: "integration"
25 - LUA: "luajit 2.1"
26 COMPILER: "vs"
27 FILES: ""
28 EXCLUDE: "integration"
29 # Integration tests
30 - LUA: "lua 5.1"
31 COMPILER: "vs"
32 FILES: ""
33 EXCLUDE: "unit"
34 - LUA: "lua 5.2"
35 COMPILER: "vs"
36 FILES: ""
37 EXCLUDE: "unit"
24 - LUA: "lua 5.3" 38 - LUA: "lua 5.3"
25 COMPILER: "mingw" 39 COMPILER: "vs"
26 FILES: "spec//build_spec.lua" 40 FILES: ""
41 EXCLUDE: "unit"
27 - LUA: "luajit 2.1" 42 - LUA: "luajit 2.1"
28 COMPILER: "vs" 43 COMPILER: "vs"
29 FILES: "" 44 FILES: ""
45 EXCLUDE: "unit"
46 # Build tests with MinGW
47 - LUA: "lua 5.1"
48 COMPILER: "mingw"
49 FILES: "spec//build_spec.lua"
50 EXCLUDE: ""
51 - LUA: "lua 5.2"
52 COMPILER: "mingw"
53 FILES: "spec//build_spec.lua"
54 EXCLUDE: ""
55 - LUA: "lua 5.3"
56 COMPILER: "mingw"
57 FILES: "spec//build_spec.lua"
58 EXCLUDE: ""
30 - LUA: "luajit 2.1" 59 - LUA: "luajit 2.1"
31 COMPILER: "mingw" 60 COMPILER: "mingw"
32 FILES: "spec//build_spec.lua" 61 FILES: "spec//build_spec.lua"
62 EXCLUDE: ""
33 63
34init: 64init:
35# Setup Lua development/build environment 65# Setup Lua development/build environment
@@ -49,8 +79,7 @@ build_script:
49 - luarocks install cluacov 1> NUL 2> NUL 79 - luarocks install cluacov 1> NUL 2> NUL
50 80
51test_script: 81test_script:
52 - busted -o gtest -v --lpath=.//?.lua --exclude-tags=ssh,unix,integration -Xhelper lua_dir=%CD%\lua_install,appveyor,%COMPILER% %FILES% 82 - busted -o gtest -v --lpath=.//?.lua --exclude-tags=ssh,unix,%EXCLUDE% -Xhelper lua_dir=%CD%\lua_install,appveyor,%COMPILER% %FILES%
53 - busted -o gtest -v --lpath=.//?.lua --exclude-tags=ssh,unix,unit -Xhelper lua_dir=%CD%\lua_install,appveyor,%COMPILER% %FILES%
54 83
55after_test: 84after_test:
56 - pip install codecov 85 - pip install codecov