Skip to content

Commit

Permalink
Run test on Lua 5.3.0 beta
Browse files Browse the repository at this point in the history
  • Loading branch information
moteus committed Nov 11, 2014
1 parent 255b8b9 commit 88d09cc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ env:
matrix:
- LUA=lua5.1
- LUA=lua5.2
- LUA=lua5.3
- LUA=luajit

services:
Expand All @@ -17,7 +18,7 @@ branches:

before_install:
- bash .travis/setup_lua.sh
- sudo luarocks install lunitx
- sudo luarocks install lunitx --deps-mode=none
- sudo pip install cpp-coveralls

install:
Expand Down
5 changes: 5 additions & 0 deletions .travis/setup_lua.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ else
elif [ "$LUA" == "lua5.2" ]; then
curl http://www.lua.org/ftp/lua-5.2.3.tar.gz | tar xz
cd lua-5.2.3;
elif [ "$LUA" == "lua5.3" ]; then
curl http://www.lua.org/work/lua-5.3.0-beta.tar.gz | tar xz
cd lua-5.3.0-beta;
fi
sudo make $PLATFORM install;
fi
Expand Down Expand Up @@ -93,4 +96,6 @@ elif [ "$LUA" == "lua5.1" ]; then
rm -rf lua-5.1.5;
elif [ "$LUA" == "lua5.2" ]; then
rm -rf lua-5.2.3;
elif [ "$LUA" == "lua5.2" ]; then
rm -rf lua-5.3.0-beta;
fi

0 comments on commit 88d09cc

Please sign in to comment.