Skip to content

Commit 69d0fba

Browse files
committed
Restore xdebug another way
1 parent 4320b55 commit 69d0fba

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ before_script:
2424
# To be removed when this issue is resolved: https://github.com/composer/composer/issues/5355
2525
- if [[ "$COMPOSER_FLAGS" == *"--prefer-lowest"* ]]; then composer update --prefer-dist --no-interaction --prefer-stable --quiet; fi
2626
- composer update -v ${COMPOSER_FLAGS}
27-
- phpenv config-add xdebug.ini
27+
# Restore xdebug for code coverage
28+
- echo "extension=xdebug.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
2829

2930
script:
3031
- ./vendor/bin/phpunit --coverage-clover=coverage.clover

0 commit comments

Comments
 (0)