diff options
author | Hisham <hisham@gobolinux.org> | 2016-08-22 16:01:43 -0300 |
---|---|---|
committer | Hisham <hisham@gobolinux.org> | 2016-08-22 16:01:43 -0300 |
commit | 523af94efbedba37bf62279b88e1334fb64c4924 (patch) | |
tree | 60d935e336bd3cc361ee2afa36c3f6622fb0a83d /appveyor.yml | |
parent | 84d19752fae29d3b1593b92cb4244478ee9a8b75 (diff) | |
download | luarocks-523af94efbedba37bf62279b88e1334fb64c4924.tar.gz luarocks-523af94efbedba37bf62279b88e1334fb64c4924.tar.bz2 luarocks-523af94efbedba37bf62279b88e1334fb64c4924.zip |
Add support for testing using MinGW
Diffstat (limited to 'appveyor.yml')
-rw-r--r-- | appveyor.yml | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/appveyor.yml b/appveyor.yml index 66a12896..0220514f 100644 --- a/appveyor.yml +++ b/appveyor.yml | |||
@@ -7,10 +7,25 @@ environment: | |||
7 | 7 | ||
8 | matrix: | 8 | matrix: |
9 | - LUA: "lua 5.1" | 9 | - LUA: "lua 5.1" |
10 | COMPILER: "msvc" | ||
10 | - LUA: "lua 5.2" | 11 | - LUA: "lua 5.2" |
12 | COMPILER: "msvc" | ||
11 | - LUA: "lua 5.3" | 13 | - LUA: "lua 5.3" |
14 | COMPILER: "msvc" | ||
12 | - LUA: "luajit 2.0" | 15 | - LUA: "luajit 2.0" |
16 | COMPILER: "msvc" | ||
13 | - LUA: "luajit 2.1" | 17 | - LUA: "luajit 2.1" |
18 | COMPILER: "msvc" | ||
19 | - LUA: "lua 5.1" | ||
20 | COMPILER: "mingw" | ||
21 | - LUA: "lua 5.2" | ||
22 | COMPILER: "mingw" | ||
23 | - LUA: "lua 5.3" | ||
24 | COMPILER: "mingw" | ||
25 | - LUA: "luajit 2.0" | ||
26 | COMPILER: "mingw" | ||
27 | - LUA: "luajit 2.1" | ||
28 | COMPILER: "mingw" | ||
14 | 29 | ||
15 | 30 | ||
16 | init: | 31 | init: |
@@ -28,7 +43,8 @@ build_script: | |||
28 | - luarocks install busted 1> NUL 2> NUL | 43 | - luarocks install busted 1> NUL 2> NUL |
29 | 44 | ||
30 | test_script: | 45 | test_script: |
31 | - busted --lpath=.//?.lua --exclude-tags=ssh,unix,mock -Xhelper appveyor | 46 | - set PATH=C:\MinGW\bin;%PATH% # Add MinGW compiler to the path |
47 | - busted --lpath=.//?.lua --exclude-tags=ssh,unix,mock -Xhelper appveyor,%COMPILER% | ||
32 | 48 | ||
33 | after_test: | 49 | after_test: |
34 | - if "%LUA%"=="lua 5.1" (luarocks show bit32 || luarocks install bit32) | 50 | - if "%LUA%"=="lua 5.1" (luarocks show bit32 || luarocks install bit32) |