mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-01-17 21:49:01 +01:00
Merge pull request #3347 from PeterDaveHelloKitchen/speedup-travis-ci
Use PHP Debugger(phpdbg) for PHPUnit to speed up CI
This commit is contained in:
commit
a7789dc1a6
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user