Travis: Fix run.sh

pull/7143/head
Aleksander Machniak 5 years ago
parent 9a0e71ddee
commit accb5f63e2

@ -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 @@
# The script is intended for use on Travis with Trusty distribution
# It executes unit and functional tests
cd ..
DIR=$(dirname $0)
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

Loading…
Cancel
Save