|
@@ -441,7 +441,12 @@ class RunCi {
|
|
|
Sys.putEnv("LUAROCKS", luarocks_version);
|
|
|
Sys.putEnv("LUA", lua_version);
|
|
|
// use the helper scripts in .travis
|
|
|
- runCommand("source", [".travis/setenv_lua.sh"]);
|
|
|
+ runCommand("bash", ["source", ".travis/setenv_lua.sh"]);
|
|
|
+ if (jit){
|
|
|
+ runCommand("luajit", ["-v"]);
|
|
|
+ } else {
|
|
|
+ runCommand("lua", ["-v"]);
|
|
|
+ }
|
|
|
runCommand("pip", ["install", "--user", "cpp-coveralls"]);
|
|
|
runCommand("luarocks", ["install", "lrexlib-pcre", "2.7.2-1", "--server=https://luarocks.org/dev"]);
|
|
|
runCommand("luarocks", ["install", "luautf8", "--server=https://luarocks.org/dev"]);
|