@ -2,8 +2,6 @@
# The script is intended for use on Travis with Trusty distribution
set -x
DIR=$(dirname $0)
# Enable xdebug for code coverage
@ -3,11 +3,12 @@
# It executes unit and functional tests
cd ..
cd $DIR/..
if [ "$CODE_COVERAGE" = 1 ]
then
CODE_COVERAGE_ARGS="--coverage-text";
CODE_COVERAGE_ARGS="--coverage-text"
fi
vendor/bin/phpunit -c tests/phpunit.xml $CODE_COVERAGE_ARGS