[wp-trac] [WordPress Trac] #39978: Disable Xdebug during tests on Travis
WordPress Trac
noreply at wordpress.org
Mon Feb 27 22:49:27 UTC 2017
#39978: Disable Xdebug during tests on Travis
------------------------------+-------------------------
Reporter: johnbillion | Owner:
Type: task (blessed) | Status: new
Priority: normal | Milestone: 4.8
Component: Build/Test Tools | Version:
Severity: normal | Keywords: needs-patch
Focuses: |
------------------------------+-------------------------
My local installation was running its tests 2x slower than I expected, and
I narrowed down the problem to the Xdebug extension being unexpectedly
enabled on the CLI. Disabling Xdebug restored the test suite speed back to
its previous level.
I did some research and it turns out Xdebug can be disabled on Travis.
Refs:
* https://docs.travis-ci.com/user/languages/php#Disabling-preinstalled-
PHP-extensions
* https://github.com/travis-ci/travis-ci/issues/444
* https://github.com/travis-ci/travis-ci/issues/5780
It would be worth pushing a change which disables Xdebug for core to see
if it speeds things up (it should) and to see if it breaks anything (it
shouldn't).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39978>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list