diff --git a/drydocker/kolab-hkccp/test_unit.sh b/drydocker/kolab-hkccp/test_unit.sh new file mode 100755 index 0000000..4384428 --- /dev/null +++ b/drydocker/kolab-hkccp/test_unit.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +pushd /srv/${PACKAGE}.git +phpunit --debug --configuration tests/phpunit.xml --testsuite Unit ; retval=$? + +if [ ${retval} -ne 0 ]; then + echo "FAILED unit tests." + exit 1 +fi + +popd +popd