Skip to content

Commit 5a6707f

Browse files
Merge pull request #143 from wp-cli/patch-142
Remove XDebug in scaffolded to improve performance
2 parents bc39fb0 + 5156a9e commit 5a6707f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.travis.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,13 @@ matrix:
3939
env: WP_VERSION=latest
4040

4141
before_install:
42-
- phpenv config-rm xdebug.ini
42+
- |
43+
# Remove Xdebug for a huge performance increase:
44+
if [ -f ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini ]; then
45+
phpenv config-rm xdebug.ini
46+
else
47+
echo "xdebug.ini does not exist"
48+
fi
4349
4450
install:
4551
- composer require wp-cli/wp-cli:dev-master

0 commit comments

Comments
 (0)