Skip to content

Commit e1ca8e1

Browse files
committed
Merge pull request zeromq#33 from moteus/master
Update Travis files and Lua 5.2/LuaRocks versions
2 parents 0246116 + 4fbaa56 commit e1ca8e1

File tree

5 files changed

+20
-14
lines changed

5 files changed

+20
-14
lines changed

.travis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ language: c
22

33
env:
44
global:
5-
- LUAROCKS=2.2.0beta1
5+
- LUAROCKS=2.2.1
66
matrix:
77
# You can set PERF only for luajit/ffi
88
# todo: install libffi and test ffi binding on Lua 5.1/5.2
@@ -41,11 +41,11 @@ before_install:
4141

4242
install:
4343
- sudo pip install cpp-coveralls
44-
- sudo luarocks install luafilesystem --from=https://rocks.moonscript.org/dev
45-
- sudo luarocks install lua-path --deps-mode=none
44+
- sudo luarocks install luafilesystem
45+
- sudo luarocks install lua-path
4646
- sudo luarocks install luacov-coveralls
47-
- sudo luarocks install lua-llthreads2 --server=http://rocks.moonscript.org/dev
48-
- sudo luarocks install https://raw.github.com/moteus/lunit/moteus-skip/rockspecs/lunitx-scm.mot.skip-0.rockspec
47+
- sudo luarocks install lua-llthreads2
48+
- sudo luarocks install lunitx
4949

5050
- if [ $LZMQ = "ffi-lua" ]; then
5151
sudo luarocks install ljsyscall 0.9;

.travis/platform.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
if [ -z "$PLATFORM" ]; then
1+
if [ -z "${PLATFORM:-}" ]; then
22
PLATFORM=$TRAVIS_OS_NAME;
33
fi
44

.travis/setup_lua.sh

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,17 @@
66
# luajit2.0 - master v2.0
77
# luajit2.1 - master v2.1
88

9+
set -eufo pipefail
10+
911
LUAJIT_BASE="LuaJIT-2.0.3"
1012

1113
source .travis/platform.sh
1214

15+
echo "==============================="
16+
echo " Platform : $PLATFORM "
17+
echo "==============================="
18+
echo
19+
1320
LUAJIT="no"
1421

1522
if [ "$PLATFORM" == "macosx" ]; then
@@ -54,8 +61,8 @@ else
5461
curl http://www.lua.org/ftp/lua-5.1.5.tar.gz | tar xz
5562
cd lua-5.1.5;
5663
elif [ "$LUA" == "lua5.2" ]; then
57-
curl http://www.lua.org/ftp/lua-5.2.3.tar.gz | tar xz
58-
cd lua-5.2.3;
64+
curl http://www.lua.org/ftp/lua-5.2.4.tar.gz | tar xz
65+
cd lua-5.2.4;
5966
elif [ "$LUA" == "lua5.3" ]; then
6067
curl http://www.lua.org/ftp/lua-5.3.0.tar.gz | tar xz
6168
cd lua-5.3.0;
@@ -95,7 +102,7 @@ if [ "$LUAJIT" == "yes" ]; then
95102
elif [ "$LUA" == "lua5.1" ]; then
96103
rm -rf lua-5.1.5;
97104
elif [ "$LUA" == "lua5.2" ]; then
98-
rm -rf lua-5.2.3;
105+
rm -rf lua-5.2.4;
99106
elif [ "$LUA" == "lua5.3" ]; then
100107
rm -rf lua-5.3.0;
101108
fi

.travis/setup_sodium.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# PLATFORM must be "linux" or "macosx"
22

3+
set -eufo pipefail
4+
35
git clone git://github.com/jedisct1/libsodium.git
46
cd libsodium
57
./autogen.sh

.travis/setup_zmq.sh

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11

2-
source .travis/platform.sh
2+
set -eufo pipefail
33

4-
echo "==============================="
5-
echo " Platform : $PLATFORM "
6-
echo "==============================="
7-
echo
4+
source .travis/platform.sh
85

96
if [ "$PLATFORM" == "linux" ]; then
107
sudo apt-get remove libzmq3;

0 commit comments

Comments
 (0)