travis: cut down coverage time from 33 mins to 3 with phpdbg

This commit is contained in:
TomasVotruba 2020-01-06 09:59:22 +01:00
parent 84e1e98a51
commit 655edbe968
2 changed files with 2 additions and 8 deletions

View File

@ -132,14 +132,11 @@ jobs:
# Stage 2
-
stage: coverage
stage: test
php: 7.3
name: Test Coverage
if: branch = master AND type = push
before_install:
- echo "keep xdebug"
script:
- vendor/bin/phpunit --coverage-clover coverage.xml
- phpdbg -qrr -d memory_limit=-1 vendor/bin/phpunit --coverage-clover coverage.xml
- wget https://github.com/php-coveralls/php-coveralls/releases/download/v2.1.0/php-coveralls.phar
- php php-coveralls.phar --verbose

View File

@ -19,9 +19,6 @@
<whitelist addUncoveredFilesFromWhitelist="false">
<directory suffix=".php">packages/*/src</directory>
<directory>src</directory>
<exclude>
<directory>tests/**/*Source/**</directory>
</exclude>
</whitelist>
</filter>
</phpunit>