Skip to content
This repository has been archived by the owner on Nov 20, 2020. It is now read-only.

Commit

Permalink
Update LuaRocks version on Travis test
Browse files Browse the repository at this point in the history
  • Loading branch information
moteus committed Jun 7, 2014
1 parent b45e844 commit 0fccdab
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ language: erlang

env:
global:
- LUAROCKS_BASE=luarocks-2.0.13
- LUAROCKS_BASE=luarocks-2.2.0beta1
matrix:
- LUA=lua5.1 LUA_DEV=liblua5.1-dev LUA_VER=5.1 LUA_SFX=5.1 LUA_INCDIR=/usr/include/lua5.1
- LUA=lua5.2 LUA_DEV=liblua5.2-dev LUA_VER=5.2 LUA_SFX=5.2 LUA_INCDIR=/usr/include/lua5.2
Expand All @@ -25,11 +25,10 @@ before_install:
- cd $LUAROCKS_BASE
- ./configure
--lua-version=$LUA_VER --lua-suffix=$LUA_SFX --with-lua-include="$LUA_INCDIR"
- sudo make
- make build
- sudo make install
- cd $TRAVIS_BUILD_DIR


install:
- sudo apt-get install p7zip-full
- sudo apt-get install zlib1g-dev
Expand All @@ -40,11 +39,7 @@ install:
- sudo luarocks install luacrypto
- sudo luarocks install lua-iconv
- sudo luarocks install lzlib
- if [ $LUA_VER = "5.1" ]; then
sudo luarocks install lbase64 20120820;
else
sudo luarocks install lbase64 20120807;
fi
- sudo luarocks install lbase64
- sudo luarocks install struct
- if [ $LUA = "lua5.1" ]; then
sudo luarocks install bit32;
Expand All @@ -59,4 +54,4 @@ after_success:
notifications:
email:
on_success: change
on_failure: always
on_failure: always

0 comments on commit 0fccdab

Please sign in to comment.