aboutsummaryrefslogtreecommitdiff
path: root/appveyor.yml
diff options
context:
space:
mode:
Diffstat (limited to 'appveyor.yml')
-rw-r--r--appveyor.yml21
1 files changed, 19 insertions, 2 deletions
diff --git a/appveyor.yml b/appveyor.yml
index 66a12896..1d29b18d 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -7,28 +7,45 @@ environment:
7 7
8 matrix: 8 matrix:
9 - LUA: "lua 5.1" 9 - LUA: "lua 5.1"
10 COMPILER: "vs"
11 - LUA: "lua 5.1"
12 COMPILER: "mingw"
13 - LUA: "lua 5.2"
14 COMPILER: "vs"
10 - LUA: "lua 5.2" 15 - LUA: "lua 5.2"
16 COMPILER: "mingw"
17 - LUA: "lua 5.3"
18 COMPILER: "vs"
11 - LUA: "lua 5.3" 19 - LUA: "lua 5.3"
20 COMPILER: "mingw"
12 - LUA: "luajit 2.0" 21 - LUA: "luajit 2.0"
22 COMPILER: "vs"
23 - LUA: "luajit 2.0"
24 COMPILER: "mingw"
25 - LUA: "luajit 2.1"
26 COMPILER: "vs"
13 - LUA: "luajit 2.1" 27 - LUA: "luajit 2.1"
28 COMPILER: "mingw"
14 29
15 30
16init: 31init:
17# Setup Lua development/build environment 32# Setup Lua development/build environment
18# Make VS 2015 command line tools available 33# Make VS 2015 command line tools available
19- call "%ProgramFiles(x86)%\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" %platform% 34- call "%ProgramFiles(x86)%\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" %platform%
35# Add MinGW compiler to the path
36- set PATH=C:\MinGW\bin;%PATH%
20 37
21before_build: 38before_build:
22 - set PATH=C:\Python27\Scripts;%PATH% # Add directory containing 'pip' to PATH 39 - set PATH=C:\Python27\Scripts;%PATH% # Add directory containing 'pip' to PATH
23 - pip install hererocks 40 - pip install hererocks
24 - hererocks env --%LUA% -rlatest 41 - hererocks env --%LUA% -rlatest --target=%COMPILER%
25 - call env\bin\activate 42 - call env\bin\activate
26 43
27build_script: 44build_script:
28 - luarocks install busted 1> NUL 2> NUL 45 - luarocks install busted 1> NUL 2> NUL
29 46
30test_script: 47test_script:
31 - busted --lpath=.//?.lua --exclude-tags=ssh,unix,mock -Xhelper appveyor 48 - busted --lpath=.//?.lua --exclude-tags=ssh,unix,mock -Xhelper appveyor,%COMPILER%
32 49
33after_test: 50after_test:
34 - if "%LUA%"=="lua 5.1" (luarocks show bit32 || luarocks install bit32) 51 - if "%LUA%"=="lua 5.1" (luarocks show bit32 || luarocks install bit32)