Skip to content

Commit

Permalink
Use PHP Debugger(phpdbg) for PHPUnit to speed up CI
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterDaveHello committed Nov 30, 2018
1 parent 26d65a0 commit 76569f4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 76569f4

Please sign in to comment.