From 028f3c8e6e19cf64a0b9658a5297dc550a638634 Mon Sep 17 00:00:00 2001 From: ADmad Date: Fri, 2 Aug 2019 23:09:43 +0530 Subject: [PATCH] Use xdebug instead of phpdbg for codecoverge. Refs https://github.com/sebastianbergmann/phpunit/issues/3772 --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9e4cf44884cb..fe484166714b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -39,7 +39,7 @@ matrix: before_install: - echo cakephp version && tail -1 VERSION.txt - - phpenv config-rm xdebug.ini + - if [ $CODECOVERAGE != 1 ]; then phpenv config-rm xdebug.ini; fi - if [ $DB = 'mysql' ]; then mysql -u root -e 'CREATE DATABASE cakephp_test;'; fi - if [ $DB = 'pgsql' ]; then psql -c 'CREATE DATABASE cakephp_test;' -U postgres; fi @@ -58,7 +58,7 @@ before_script: - composer install --prefer-dist --no-interaction script: - - if [[ $CODECOVERAGE == 1 ]]; then phpdbg -qrr vendor/bin/phpunit --coverage-clover=clover.xml; fi + - if [[ $CODECOVERAGE == 1 ]]; then vendor/bin/phpunit --coverage-clover=clover.xml; fi - if [[ $CODECOVERAGE != 1 ]]; then vendor/bin/phpunit; fi after_script: