From 45fc253f341e0664cfeffdc4d9e55989d67545e5 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Mon, 28 Dec 2020 19:29:08 +0100 Subject: [PATCH] Fix Xdebug coverage --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 3ab56941..e0dc3bd7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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