Skip to content

Commit 42e331e

Browse files
committed
Update CI to test against 5.3.0 beta
5.3.0-work2 has been obsoleted by the newer 5.3.0-beta The TravisCI scripts currently break with luajit and lua-5.3.0 because of luarocks issues. Updating to luarocks-2.2.0 caused luarocks to search for "env lua" instead of "env luajit" and there's a whole other mess of things happening with lua-5.3.0-beta at the moment. So, the code works, but the testing is broken for luajit and 5.3.0-beta.
1 parent 9c85420 commit 42e331e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ language: erlang
33
env:
44
global:
55
- PLATFORM=linux
6-
- LUAROCKS_VER=2.1.0
6+
- LUAROCKS_VER=2.2.0
77
matrix:
88
- LUA=lua5.1 LUA_SFX=
99
- LUA=lua5.2 LUA_SFX=
1010
- LUA=luajit LUA_SFX=jit
1111
- LUA=lua5.3 LUA_SFX=
1212

1313
before_install:
14-
- bash .travis/setup_lua.sh
14+
- bash -x .travis/setup_lua.sh
1515
- sudo pip install cpp-coveralls
1616

1717
install:

.travis/setup_lua.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ else
1616
curl http://www.lua.org/ftp/lua-5.2.3.tar.gz | tar xz
1717
cd lua-5.2.3;
1818
elif [ "$LUA" == "lua5.3" ]; then
19-
curl http://www.lua.org/work/lua-5.3.0-work2.tar.gz | tar xz
20-
cd lua-5.3.0-work2;
19+
curl http://www.lua.org/work/lua-5.3.0-beta.tar.gz | tar xz
20+
cd lua-5.3.0-beta;
2121
fi
2222
sudo make $PLATFORM install
2323
cd $TRAVIS_BUILD_DIR;
@@ -46,5 +46,5 @@ elif [ "$LUA" == "lua5.1" ]; then
4646
elif [ "$LUA" == "lua5.2" ]; then
4747
rm -rf lua-5.2.3;
4848
elif [ "$LUA" == "lua5.3" ]; then
49-
rm -rf lua-5.3.0-work2;
49+
rm -rf lua-5.3.0-beta;
5050
fi

0 commit comments

Comments
 (0)