.travis.yml: fix indent
This commit is contained in:
parent
33b2277df9
commit
2a57f0335f
20
.travis.yml
20
.travis.yml
|
@ -39,16 +39,16 @@ install:
|
|||
# Install Lua (per env).
|
||||
# Note that Lua 5.3 is installed by hand, because not available in trusty
|
||||
- |
|
||||
if [[ "$LUA" == "5.3" ]]; then
|
||||
wget http://www.lua.org/ftp/lua-5.3.2.tar.gz -O lua.tar.gz
|
||||
tar -xvzf lua.tar.gz
|
||||
cd lua-*
|
||||
(cd src && make SYSCFLAGS="-DLUA_USE_LINUX" SYSLIBS="-Wl,-E -ldl -lreadline" LUA_A=liblua.so MYCFLAGS="-fPIC" RANLIB=: AR="gcc -shared -ldl -o" liblua.so) || exit 1
|
||||
sudo make INSTALL_TOP=/usr/ INSTALL_INC=${LUAINCLUDE} TO_LIB=liblua.so linux install || exit 1
|
||||
cd ..
|
||||
else
|
||||
sudo apt-get install -y lib${LUANAME}-dev ${LUANAME} ${INSTALL_PKGS}
|
||||
fi
|
||||
if [[ "$LUA" == "5.3" ]]; then
|
||||
wget http://www.lua.org/ftp/lua-5.3.2.tar.gz -O lua.tar.gz
|
||||
tar -xvzf lua.tar.gz
|
||||
cd lua-*
|
||||
(cd src && make SYSCFLAGS="-DLUA_USE_LINUX" SYSLIBS="-Wl,-E -ldl -lreadline" LUA_A=liblua.so MYCFLAGS="-fPIC" RANLIB=: AR="gcc -shared -ldl -o" liblua.so) || exit 1
|
||||
sudo make INSTALL_TOP=/usr/ INSTALL_INC=${LUAINCLUDE} TO_LIB=liblua.so linux install || exit 1
|
||||
cd ..
|
||||
else
|
||||
sudo apt-get install -y lib${LUANAME}-dev ${LUANAME} ${INSTALL_PKGS}
|
||||
fi
|
||||
|
||||
# "Create" /usr/bin/lua if needed (Yup, this is a bad hack)
|
||||
- if [ ! -e "/usr/bin/lua" ]; then sudo ln -s /usr/bin/luajit /usr/bin/lua; fi
|
||||
|
|
Loading…
Reference in New Issue