travis: kicking lj

This commit is contained in:
Vadim A. Misbakh-Soloviov 2019-06-10 00:22:40 +03:00
parent cd679ed398
commit f102657929
No known key found for this signature in database
GPG Key ID: 6765F46F28E9607E

View File

@ -25,8 +25,6 @@ LUAJIT="no"
if [ "${LUA:0:6}" == "luajit" ]; then if [ "${LUA:0:6}" == "luajit" ]; then
LUAJIT="yes" LUAJIT="yes"
LJ_V="${LUA##luajit}"
[[ -z "${LJ_V}" ]] && LJ_V="2.0"
fi fi
mkdir -p "${LUA_HOME_DIR}" mkdir -p "${LUA_HOME_DIR}"
@ -35,6 +33,8 @@ if [ "${LUAJIT}" == "yes" ]; then
if [ "${LUA}" == "luajit" ]; then if [ "${LUA}" == "luajit" ]; then
curl -LSs "https://github.com/LuaJIT/LuaJIT/archive/v${LUAJIT_VERSION}.tar.gz" | tar xz curl -LSs "https://github.com/LuaJIT/LuaJIT/archive/v${LUAJIT_VERSION}.tar.gz" | tar xz
else else
LJ_V="${LUA##luajit}"
[[ -z "${LJ_V}" ]] && LJ_V="2.0"
git clone https://github.com/LuaJIT/LuaJIT.git -b "v${LJ_V}" "${LUAJIT_BASE}" git clone https://github.com/LuaJIT/LuaJIT.git -b "v${LJ_V}" "${LUAJIT_BASE}"
fi fi