Skip to content
Snippets Groups Projects
Commit b767bbcd authored by Thomas Müller's avatar Thomas Müller
Browse files

Merge pull request #5683 from owncloud/no-coverage-with-php-v53-master

adding environment variable to control coverage reporting
parents c3898061 4025f393
No related branches found
No related tags found
No related merge requests found
......@@ -178,7 +178,12 @@ EOF
rm -rf coverage-html-$1
mkdir coverage-html-$1
php -f enable_all.php
phpunit --configuration phpunit-autotest.xml --log-junit autotest-results-$1.xml --coverage-clover autotest-clover-$1.xml --coverage-html coverage-html-$1 $2 $3
if [ -z "$NOCOVERAGE" ]; then
phpunit --configuration phpunit-autotest.xml --log-junit autotest-results-$1.xml --coverage-clover autotest-clover-$1.xml --coverage-html coverage-html-$1 $2 $3
else
echo "No coverage"
phpunit --configuration phpunit-autotest.xml --log-junit autotest-results-$1.xml $2 $3
fi
}
#
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment