Build/test tools: Add some more debugging to Travis and bring the format of the Xdebug fix inline with branches.

git-svn-id: https://develop.svn.wordpress.org/trunk@40259 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn 2017-03-09 21:47:20 +00:00
parent 7ba64e2288
commit 509b17b6c9
1 changed files with 10 additions and 1 deletions

View File

@ -51,7 +51,11 @@ before_install:
echo "extension = memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
fi
before_script:
- stable='^[0-9\.]+$'; if [[ "$TRAVIS_PHP_VERSION" =~ $stable ]]; then phpenv config-rm xdebug.ini; fi
- |
stable='^[0-9\.]+$'
if [[ "$TRAVIS_PHP_VERSION" =~ $stable ]]; then
phpenv config-rm xdebug.ini
fi
- export PATH="$HOME/.composer/vendor/bin:$PATH"
- |
if [[ ${TRAVIS_PHP_VERSION:0:2} == "7." ]]; then
@ -68,9 +72,14 @@ before_script:
- mysql --version
- phpenv versions
- php --version
- php -m
- npm --version
- node --version
- phpunit --version
- curl --version
- grunt --version
- git --version
- svn --version
script: grunt $WP_TRAVISCI
notifications:
slack: