Skip to content

Commit

Permalink
travis: cut down coverage time from 33 mins to 3 with phpdbg
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Jan 6, 2020
1 parent 84e1e98 commit 655edbe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
7 changes: 2 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 0 additions & 3 deletions phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>

0 comments on commit 655edbe

Please sign in to comment.