Skip to content

Commit

Permalink
use GitHub mirror of LuaJIT
Browse files Browse the repository at this point in the history
  • Loading branch information
starius committed Dec 23, 2015
1 parent 00ca7f6 commit c73a3fa
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .travis/setup_lua.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@

set -xeu -o pipefail

LUAJIT_BASE="LuaJIT-2.0.4"
LUAJIT_VERSION="2.0.4"
LUAJIT_BASE="LuaJIT-$LUAJIT_VERSION"

source .travis/platform.sh

Expand Down Expand Up @@ -39,9 +40,9 @@ mkdir -p "$LUA_HOME_DIR"
if [ "$LUAJIT" == "yes" ]; then

if [ "$LUA" == "luajit" ]; then
curl http://luajit.org/download/$LUAJIT_BASE.tar.gz | tar xz;
curl --location https://github.com/LuaJIT/LuaJIT/archive/v$LUAJIT_VERSION.tar.gz | tar xz;
else
git clone http://luajit.org/git/luajit-2.0.git $LUAJIT_BASE;
git clone https://github.com/LuaJIT/LuaJIT.git $LUAJIT_BASE;
fi

cd $LUAJIT_BASE
Expand Down

0 comments on commit c73a3fa

Please sign in to comment.