Skip to content

Commit c47eb78

Browse files
committed
Remove XDebug in scaffolded to improve performance
1 parent bc39fb0 commit c47eb78

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.travis.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,13 @@ matrix:
4040

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

0 commit comments

Comments
 (0)