mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-26 12:52:36 +00:00
travis: cut down coverage time from 33 mins to 3 with phpdbg
This commit is contained in:
parent
84e1e98a51
commit
655edbe968
|
@ -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
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue
Block a user