Skip to content

Commit

Permalink
Fix Xdebug coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
pierres committed Dec 28, 2020
1 parent 9bfd06e commit 45fc253
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
php: 7.4
before_script:
- mv ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini{.disabled,}
- echo "xdebug.mode = coverage" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini
- if [[ ! $(php -m | grep -si xdebug) ]]; then echo "xdebug required for coverage"; exit 1; fi
script:
- ./vendor/bin/simple-phpunit -v --coverage-text
Expand Down

0 comments on commit 45fc253

Please sign in to comment.