Merge pull request #17659 from woocommerce/speed-up-travis-builds
Disable XDebug to speed up Travis builds
This commit is contained in:
commit
800877cb79
|
@ -15,6 +15,12 @@ if [ $1 == 'before' ]; then
|
||||||
composer global require "phpunit/phpunit=6.2.*"
|
composer global require "phpunit/phpunit=6.2.*"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Remove Xdebug from PHP runtime for all PHP version except 7.1 to speed up builds.
|
||||||
|
# We need Xdebug enabled in the PHP 7.1 build job as it is used to generate code coverage.
|
||||||
|
if [[ ${TRAVIS_PHP_VERSION} != '7.1' ]]; then
|
||||||
|
phpenv config-rm xdebug.ini
|
||||||
|
fi
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $1 == 'after' ]; then
|
if [ $1 == 'after' ]; then
|
||||||
|
|
Loading…
Reference in New Issue