Use PHP Debugger(phpdbg) for PHPUnit to speed up CI
This commit is contained in:
@@ -38,7 +38,8 @@ jobs:
|
|||||||
php: 7.3
|
php: 7.3
|
||||||
- stage: Code coverage
|
- stage: Code coverage
|
||||||
script:
|
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 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
|
- if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml; fi
|
||||||
php: 7.1
|
php: 7.1
|
||||||
|
|||||||
Reference in New Issue
Block a user