Build/Test Tools: Disable Xdebug when testing on Travis to increase performance.

See #39978


git-svn-id: https://develop.svn.wordpress.org/branches/4.3@40229 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn 2017-03-07 01:10:46 +00:00
parent b81820e354
commit 66145944be

View File

@ -34,9 +34,15 @@ before_install:
svn checkout https://plugins.svn.wordpress.org/wordpress-importer/trunk tests/phpunit/data/plugins/wordpress-importer
fi
before_script:
- |
stable='^[0-9\.]+$';
if [[ "$TRAVIS_PHP_VERSION" =~ $stable ]]; then
phpenv config-rm xdebug.ini
fi
- npm install -g npm
- npm install -g grunt-cli
- npm install
- php --version
script: grunt $WP_TRAVISCI
notifications:
slack: