Attempt 3 to test on travis OS X
This commit is contained in:
parent
907e4cdd47
commit
52557f9e03
10
test.sh
10
test.sh
@ -3,7 +3,7 @@ set -ev
|
|||||||
export PATH="$PWD/test/here/bin:$PATH"
|
export PATH="$PWD/test/here/bin:$PATH"
|
||||||
HEREROCKS="python hererocks.py test/here --downloads=test/cache --no-git-cache"
|
HEREROCKS="python hererocks.py test/here --downloads=test/cache --no-git-cache"
|
||||||
|
|
||||||
rm test/here -rf
|
rm -rf test/here
|
||||||
$HEREROCKS -l^ -r^
|
$HEREROCKS -l^ -r^
|
||||||
lua -v
|
lua -v
|
||||||
luarocks --version
|
luarocks --version
|
||||||
@ -11,7 +11,7 @@ luarocks make
|
|||||||
hererocks-test | grep "5\.3"
|
hererocks-test | grep "5\.3"
|
||||||
$HEREROCKS -l^ -r^ | grep "already installed"
|
$HEREROCKS -l^ -r^ | grep "already installed"
|
||||||
|
|
||||||
rm test/here -rf
|
rm -rf test/here
|
||||||
$HEREROCKS -j @v2.1 -r^ | grep "Fetching" | grep "cached"
|
$HEREROCKS -j @v2.1 -r^ | grep "Fetching" | grep "cached"
|
||||||
lua -v
|
lua -v
|
||||||
lua -e "require 'jit.bcsave'"
|
lua -e "require 'jit.bcsave'"
|
||||||
@ -19,15 +19,15 @@ luarocks --version
|
|||||||
luarocks make
|
luarocks make
|
||||||
hererocks-test | grep "2\.1"
|
hererocks-test | grep "2\.1"
|
||||||
|
|
||||||
rm test/here -rf
|
rm -rf test/here
|
||||||
$HEREROCKS -l 5.1 --compat=none --no-readline
|
$HEREROCKS -l 5.1 --compat=none --no-readline
|
||||||
lua -e "assert(not pcall(string.gfind, '', '.'))"
|
lua -e "assert(not pcall(string.gfind, '', '.'))"
|
||||||
lua -e "(function(...) assert(arg == nil) end)()"
|
lua -e "(function(...) assert(arg == nil) end)()"
|
||||||
lua -e "assert(math.mod == nil)"
|
lua -e "assert(math.mod == nil)"
|
||||||
|
|
||||||
rm test/here -rf
|
rm -rf test/here
|
||||||
$HEREROCKS -l 5.3 --compat=none --builds=test/builds
|
$HEREROCKS -l 5.3 --compat=none --builds=test/builds
|
||||||
lua -e "assert(module == nil)"
|
lua -e "assert(module == nil)"
|
||||||
|
|
||||||
rm test/here -rf
|
rm -rf test/here
|
||||||
$HEREROCKS -l 5.3 --compat=none --builds=test/builds | grep "Building" | grep "cached"
|
$HEREROCKS -l 5.3 --compat=none --builds=test/builds | grep "Building" | grep "cached"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user