File tree Expand file tree Collapse file tree 5 files changed +20
-14
lines changed Expand file tree Collapse file tree 5 files changed +20
-14
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ language: c
22
33env :
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
4242install :
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;
Original file line number Diff line number Diff line change 1- if [ -z " $PLATFORM " ]; then
1+ if [ -z " ${ PLATFORM:- } " ]; then
22 PLATFORM=$TRAVIS_OS_NAME ;
33fi
44
Original file line number Diff line number Diff line change 66# luajit2.0 - master v2.0
77# luajit2.1 - master v2.1
88
9+ set -eufo pipefail
10+
911LUAJIT_BASE=" LuaJIT-2.0.3"
1012
1113source .travis/platform.sh
1214
15+ echo " ==============================="
16+ echo " Platform : $PLATFORM "
17+ echo " ==============================="
18+ echo
19+
1320LUAJIT=" no"
1421
1522if [ " $PLATFORM " == " macosx" ]; then
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
95102elif [ " $LUA " == " lua5.1" ]; then
96103 rm -rf lua-5.1.5;
97104elif [ " $LUA " == " lua5.2" ]; then
98- rm -rf lua-5.2.3 ;
105+ rm -rf lua-5.2.4 ;
99106elif [ " $LUA " == " lua5.3" ]; then
100107 rm -rf lua-5.3.0;
101108fi
Original file line number Diff line number Diff line change 11# PLATFORM must be "linux" or "macosx"
22
3+ set -eufo pipefail
4+
35git clone git://github.com/jedisct1/libsodium.git
46cd libsodium
57./autogen.sh
Original file line number Diff line number Diff line change 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
96if [ " $PLATFORM " == " linux" ]; then
107 sudo apt-get remove libzmq3;
You can’t perform that action at this time.
0 commit comments