From 66145944beb5360ca635267859f9b0e563fad873 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Tue, 7 Mar 2017 01:10:46 +0000 Subject: [PATCH] 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 --- .travis.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.travis.yml b/.travis.yml index e9dc948ec3..15179ec992 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: