From 2a57f0335f933a6a6c73c96749e535fad7af86ca Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Thu, 11 Feb 2016 21:40:22 +0100 Subject: [PATCH] .travis.yml: fix indent --- .travis.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index bf1c05d8c..80edefa15 100644 --- a/.travis.yml +++ b/.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