Skip to content

Commit 57af634

Browse files
committedNov 7, 2015
small fixes for test path
1 parent b5e4cc2 commit 57af634

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎.travis.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,6 @@ before_script:
5151
- export LD_LIBRARY_PATH=${INSTALL_PREFIX}/lib:$LD_LIBRARY_PATH
5252
script:
5353
- ${INSTALL_PREFIX}/bin/luarocks make rocks/nn-scm-1.rockspec
54-
- ${INSTALL_PREFIX}/bin/luajit -lnn -e "t=nn.test(); if t.errors[1] then os.exit(1) end"
54+
- export PATH=${INSTALL_PREFIX}/bin:$PATH
55+
- export TESTLUA=$(which luajit lua | head -n 1)
56+
- ${TESTLUA} -lnn -e "t=nn.test(); if t.errors[1] then os.exit(1) end"

0 commit comments

Comments
 (0)
Please sign in to comment.