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