use more verbose output type for unittests on travis

This commit is contained in:
Stefan Hoffmann 2014-03-07 15:57:07 +01:00 committed by Thiago de Arruda
parent ab0c96187c
commit 69967ccaba
2 changed files with 5 additions and 1 deletions

View File

@ -1,6 +1,7 @@
#!/bin/sh -e
export VALGRIND_CHECK=1
export BUSTED_OUTPUT_TYPE="TAP"
make cmake CMAKE_EXTRA_FLAGS="-DCMAKE_INSTALL_PREFIX=$PWD/dist"
make
make unittest

View File

@ -3,4 +3,7 @@
(cd "$pkgroot/build" && make) || exit 1
eval "$(luarocks path)"
busted --pattern=.moon ./test
if [ -z "$BUSTED_OUTPUT_TYPE" ]; then
export BUSTED_OUTPUT_TYPE="utf_terminal"
fi
busted --pattern=.moon -o $BUSTED_OUTPUT_TYPE ./test