Merge pull request #3347 from PeterDaveHelloKitchen/speedup-travis-ci

Use PHP Debugger(phpdbg) for PHPUnit to speed up CI
This commit is contained in:
James Brooks 2018-12-01 10:45:30 +00:00 committed by GitHub
commit a7789dc1a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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