From 009a4bdc42a5d0d1fdcc5e2a08603857a00c6b60 Mon Sep 17 00:00:00 2001 From: Rob Allen Date: Mon, 4 Jan 2021 13:30:48 +0000 Subject: [PATCH] Add xdebug.mode setting for xdebug 3 This is required for PHP7.3+ as our phpunit.xml.dist automatically creates coverage. --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 17531c8..0c00e9e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,8 +19,8 @@ before_script: - composer install -n script: - - if [[ "$ANALYSIS" != 'true' ]]; then vendor/bin/phpunit ; fi - - if [[ "$ANALYSIS" == 'true' ]]; then vendor/bin/phpunit --coverage-clover clover.xml ; fi + - if [[ "$ANALYSIS" != 'true' ]]; then vendor/bin/phpunit -dxdebug.mode=coverage; fi + - if [[ "$ANALYSIS" == 'true' ]]; then vendor/bin/phpunit -dxdebug.mode=coverage --coverage-clover clover.xml ; fi after_success: - if [[ "$ANALYSIS" == 'true' ]]; then vendor/bin/php-coveralls --coverage_clover=clover.xml -v ; fi