Skip to content

Commit

Permalink
Attempt 3 to test on travis OS X
Browse files Browse the repository at this point in the history
  • Loading branch information
mpeterv committed Mar 20, 2016
1 parent 907e4cd commit 52557f9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,31 @@ set -ev
export PATH="$PWD/test/here/bin:$PATH"
HEREROCKS="python hererocks.py test/here --downloads=test/cache --no-git-cache"

rm test/here -rf
rm -rf test/here
$HEREROCKS -l^ -r^
lua -v
luarocks --version
luarocks make
hererocks-test | grep "5\.3"
$HEREROCKS -l^ -r^ | grep "already installed"

rm test/here -rf
rm -rf test/here
$HEREROCKS -j @v2.1 -r^ | grep "Fetching" | grep "cached"
lua -v
lua -e "require 'jit.bcsave'"
luarocks --version
luarocks make
hererocks-test | grep "2\.1"

rm test/here -rf
rm -rf test/here
$HEREROCKS -l 5.1 --compat=none --no-readline
lua -e "assert(not pcall(string.gfind, '', '.'))"
lua -e "(function(...) assert(arg == nil) end)()"
lua -e "assert(math.mod == nil)"

rm test/here -rf
rm -rf test/here
$HEREROCKS -l 5.3 --compat=none --builds=test/builds
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"

0 comments on commit 52557f9

Please sign in to comment.