Newer
Older
if [ -n "$TEST_SUITE" ]
phpunit --configuration phpunit.xml --testsuite $TEST_SUITE --colors
Benaka Moorthi
a validé
if [ -n "$TEST_DIR" ]
then
if [ "$TEST_DIR" = "UI" ]
then
echo "View UI failures (if any) here http://builds-artifacts.piwik.org/ui-tests.master/$TRAVIS_JOB_NUMBER/screenshot-diffs/diffviewer.html."
echo "If the new screenshots are valid, then you can copy them over to tests/PHPUnit/UI/expected-ui-screenshots/."
echo ""
fi
phpunit --colors $TEST_DIR
Benaka Moorthi
a validé
else
phpunit --configuration phpunit.xml --coverage-text --colors
Benaka Moorthi
a validé
fi