From 76569f4cce80b0f4e14592916171ef9d3c58b950 Mon Sep 17 00:00:00 2001 From: Peter Dave Hello Date: Fri, 30 Nov 2018 16:59:43 +0800 Subject: [PATCH] Use PHP Debugger(phpdbg) for PHPUnit to speed up CI --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 3e152abcfeab..a4c337556d6f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -38,7 +38,8 @@ jobs: php: 7.3 - stage: Code coverage script: - - vendor/bin/phpunit --coverage-text --coverage-clover build/logs/clover.xml + - phpenv config-rm xdebug.ini || true + - phpdbg -qrr vendor/bin/phpunit --coverage-text --coverage-clover build/logs/clover.xml - if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then wget https://scrutinizer-ci.com/ocular.phar; fi - if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml; fi php: 7.1