From 18221b4798c793ae63bddaa11e810a2b352da924 Mon Sep 17 00:00:00 2001 From: Oscar Lim Date: Sat, 30 May 2015 00:48:11 -0700 Subject: [PATCH 1/2] Add luarocks backup server Add a backup server from which to download luarocks. --- .travis_setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis_setup.sh b/.travis_setup.sh index 07e681a..f2918a5 100644 --- a/.travis_setup.sh +++ b/.travis_setup.sh @@ -23,7 +23,7 @@ else fi cd .. -wget -O - http://luarocks.org/releases/luarocks-2.2.1.tar.gz | tar xz +wget -O - http://luarocks.org/releases/luarocks-2.2.1.tar.gz | tar xz || wget -O - http://keplerproject.github.io/luarocks/releases/luarocks-2.2.2.tar.gz | tar xz cd luarocks-2.2.1 if [ "$LUA" == "LuaJIT 2.0" ]; then From 17cf980d48ba584bc6f1cbb2f2f5162ec113cb6d Mon Sep 17 00:00:00 2001 From: Oscar Lim Date: Sat, 30 May 2015 00:48:48 -0700 Subject: [PATCH 2/2] Update luarocks to version 2.2.2 --- .travis_setup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis_setup.sh b/.travis_setup.sh index f2918a5..4111cd2 100644 --- a/.travis_setup.sh +++ b/.travis_setup.sh @@ -23,8 +23,8 @@ else fi cd .. -wget -O - http://luarocks.org/releases/luarocks-2.2.1.tar.gz | tar xz || wget -O - http://keplerproject.github.io/luarocks/releases/luarocks-2.2.2.tar.gz | tar xz -cd luarocks-2.2.1 +wget -O - http://luarocks.org/releases/luarocks-2.2.2.tar.gz | tar xz || wget -O - http://keplerproject.github.io/luarocks/releases/luarocks-2.2.2.tar.gz | tar xz +cd luarocks-2.2.2 if [ "$LUA" == "LuaJIT 2.0" ]; then ./configure --with-lua-include=/usr/local/include/luajit-2.0;