Skip to content

Commit

Permalink
Merge pull request #3347 from PeterDaveHelloKitchen/speedup-travis-ci
Browse files Browse the repository at this point in the history
Use PHP Debugger(phpdbg) for PHPUnit to speed up CI
  • Loading branch information
jbrooksuk committed Dec 1, 2018
2 parents 26d65a0 + 76569f4 commit a7789dc
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 a7789dc

Please sign in to comment.