Skip to content

Commit 45fc253

Browse files
committed
Fix Xdebug coverage
1 parent 9bfd06e commit 45fc253

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ jobs:
4545
php: 7.4
4646
before_script:
4747
- mv ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini{.disabled,}
48+
- echo "xdebug.mode = coverage" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini
4849
- if [[ ! $(php -m | grep -si xdebug) ]]; then echo "xdebug required for coverage"; exit 1; fi
4950
script:
5051
- ./vendor/bin/simple-phpunit -v --coverage-text

0 commit comments

Comments
 (0)