travis: kicking lj-20

This commit is contained in:
Vadim A. Misbakh-Soloviov 2019-06-09 20:58:35 +03:00
parent b6f80cd291
commit a76c9fce53
No known key found for this signature in database
GPG Key ID: 6765F46F28E9607E

View File

@ -1,5 +1,7 @@
#! /bin/bash #! /bin/bash
# vim: ft=bash sw=2 ts=2
# A script for setting up environment for travis-ci testing. # A script for setting up environment for travis-ci testing.
# Sets up Lua and Luarocks. # Sets up Lua and Luarocks.
# LUA must be "lua5.x" or "luajit". # LUA must be "lua5.x" or "luajit".
@ -100,8 +102,6 @@ elif [ "$LUA" == "luajit2.0" ]; then
export LUA_INCDIR="$LUA_HOME_DIR/include/luajit-2.0" export LUA_INCDIR="$LUA_HOME_DIR/include/luajit-2.0"
elif [ "$LUA" == "luajit2.1" ]; then elif [ "$LUA" == "luajit2.1" ]; then
export LUA_INCDIR="$LUA_HOME_DIR/include/luajit-2.1" export LUA_INCDIR="$LUA_HOME_DIR/include/luajit-2.1"
#else
# ./configure --with-lua="$LUA_HOME_DIR" --prefix="$LR_HOME_DIR"
fi fi
./configure --with-lua="$LUA_HOME_DIR" --prefix="$LR_HOME_DIR" ./configure --with-lua="$LUA_HOME_DIR" --prefix="$LR_HOME_DIR"
@ -117,10 +117,6 @@ rm -rf $LUAROCKS_BASE
if [ "$LUAJIT" == "yes" ]; then if [ "$LUAJIT" == "yes" ]; then
rm -rf $LUAJIT_BASE; rm -rf $LUAJIT_BASE;
elif [ "$LUA" == "lua5.1" ]; then else
rm -rf lua-5.1.5; rm -rf lua_build;
elif [ "$LUA" == "lua5.2" ]; then
rm -rf lua-5.2.4;
elif [ "$LUA" == "lua5.3" ]; then
rm -rf lua-5.3.2;
fi fi