From a76c9fce535b8c13f5263efc9e14c9938bdb0bb5 Mon Sep 17 00:00:00 2001 From: "Vadim A. Misbakh-Soloviov" Date: Sun, 9 Jun 2019 20:58:35 +0300 Subject: [PATCH] travis: kicking lj-20 --- .travis/setup_lua.sh | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.travis/setup_lua.sh b/.travis/setup_lua.sh index 3226473..b040508 100644 --- a/.travis/setup_lua.sh +++ b/.travis/setup_lua.sh @@ -1,5 +1,7 @@ #! /bin/bash +# vim: ft=bash sw=2 ts=2 + # A script for setting up environment for travis-ci testing. # Sets up Lua and Luarocks. # 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" elif [ "$LUA" == "luajit2.1" ]; then export LUA_INCDIR="$LUA_HOME_DIR/include/luajit-2.1" -#else -# ./configure --with-lua="$LUA_HOME_DIR" --prefix="$LR_HOME_DIR" fi ./configure --with-lua="$LUA_HOME_DIR" --prefix="$LR_HOME_DIR" @@ -117,10 +117,6 @@ rm -rf $LUAROCKS_BASE if [ "$LUAJIT" == "yes" ]; then rm -rf $LUAJIT_BASE; -elif [ "$LUA" == "lua5.1" ]; then - rm -rf lua-5.1.5; -elif [ "$LUA" == "lua5.2" ]; then - rm -rf lua-5.2.4; -elif [ "$LUA" == "lua5.3" ]; then - rm -rf lua-5.3.2; +else + rm -rf lua_build; fi