Skip to content

Commit

Permalink
Use xdebug instead of phpdbg for codecoverge.
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Aug 2, 2019
1 parent 2b47b1f commit 028f3c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Expand Up @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit 028f3c8

Please sign in to comment.