diff options
author | Hisham <hisham@gobolinux.org> | 2016-08-22 17:24:22 -0300 |
---|---|---|
committer | Hisham <hisham@gobolinux.org> | 2016-08-22 17:24:22 -0300 |
commit | ec177a4227d14ad28556baa5132376337feea7fb (patch) | |
tree | 508d4501229e58d709d2c875e1f578c675f7fd26 | |
parent | 523af94efbedba37bf62279b88e1334fb64c4924 (diff) | |
download | luarocks-ec177a4227d14ad28556baa5132376337feea7fb.tar.gz luarocks-ec177a4227d14ad28556baa5132376337feea7fb.tar.bz2 luarocks-ec177a4227d14ad28556baa5132376337feea7fb.zip |
Build Lua using the same compiler as the one we're testing
-rw-r--r-- | appveyor.yml | 20 | ||||
-rw-r--r-- | test/test_environment.lua | 2 |
2 files changed, 11 insertions, 11 deletions
diff --git a/appveyor.yml b/appveyor.yml index 0220514f..94fd6289 100644 --- a/appveyor.yml +++ b/appveyor.yml | |||
@@ -7,24 +7,24 @@ environment: | |||
7 | 7 | ||
8 | matrix: | 8 | matrix: |
9 | - LUA: "lua 5.1" | 9 | - LUA: "lua 5.1" |
10 | COMPILER: "msvc" | 10 | COMPILER: "vs" |
11 | - LUA: "lua 5.2" | ||
12 | COMPILER: "msvc" | ||
13 | - LUA: "lua 5.3" | ||
14 | COMPILER: "msvc" | ||
15 | - LUA: "luajit 2.0" | ||
16 | COMPILER: "msvc" | ||
17 | - LUA: "luajit 2.1" | ||
18 | COMPILER: "msvc" | ||
19 | - LUA: "lua 5.1" | 11 | - LUA: "lua 5.1" |
20 | COMPILER: "mingw" | 12 | COMPILER: "mingw" |
21 | - LUA: "lua 5.2" | 13 | - LUA: "lua 5.2" |
14 | COMPILER: "vs" | ||
15 | - LUA: "lua 5.2" | ||
22 | COMPILER: "mingw" | 16 | COMPILER: "mingw" |
23 | - LUA: "lua 5.3" | 17 | - LUA: "lua 5.3" |
18 | COMPILER: "vs" | ||
19 | - LUA: "lua 5.3" | ||
24 | COMPILER: "mingw" | 20 | COMPILER: "mingw" |
25 | - LUA: "luajit 2.0" | 21 | - LUA: "luajit 2.0" |
22 | COMPILER: "vs" | ||
23 | - LUA: "luajit 2.0" | ||
26 | COMPILER: "mingw" | 24 | COMPILER: "mingw" |
27 | - LUA: "luajit 2.1" | 25 | - LUA: "luajit 2.1" |
26 | COMPILER: "vs" | ||
27 | - LUA: "luajit 2.1" | ||
28 | COMPILER: "mingw" | 28 | COMPILER: "mingw" |
29 | 29 | ||
30 | 30 | ||
@@ -36,7 +36,7 @@ init: | |||
36 | before_build: | 36 | before_build: |
37 | - set PATH=C:\Python27\Scripts;%PATH% # Add directory containing 'pip' to PATH | 37 | - set PATH=C:\Python27\Scripts;%PATH% # Add directory containing 'pip' to PATH |
38 | - pip install hererocks | 38 | - pip install hererocks |
39 | - hererocks env --%LUA% -rlatest | 39 | - hererocks env --%LUA% -rlatest --target=%COMPILER% |
40 | - call env\bin\activate | 40 | - call env\bin\activate |
41 | 41 | ||
42 | build_script: | 42 | build_script: |
diff --git a/test/test_environment.lua b/test/test_environment.lua index f7cdcaa1..764cd65f 100644 --- a/test/test_environment.lua +++ b/test/test_environment.lua | |||
@@ -173,7 +173,7 @@ function test_env.set_args() | |||
173 | test_env.TEST_TARGET_OS = argument:match("^os=(.*)$") | 173 | test_env.TEST_TARGET_OS = argument:match("^os=(.*)$") |
174 | elseif argument == "mingw" then | 174 | elseif argument == "mingw" then |
175 | test_env.MINGW = true | 175 | test_env.MINGW = true |
176 | elseif argument == "msvc" then | 176 | elseif argument == "vs" then |
177 | test_env.MINGW = false | 177 | test_env.MINGW = false |
178 | else | 178 | else |
179 | help() | 179 | help() |