mirror of
https://ghproxy.net/https://github.com/wp-cli/scaffold-package-command.git
synced 2025-10-04 04:02:29 +08:00
Remove XDebug in scaffolded to improve performance
This commit is contained in:
parent
273bb42ac0
commit
f551898e39
1 changed files with 7 additions and 0 deletions
|
@ -40,6 +40,13 @@ matrix:
|
|||
|
||||
before_install:
|
||||
- phpenv config-rm xdebug.ini
|
||||
- |
|
||||
# Remove Xdebug for a huge performance increase:
|
||||
if [ -f ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini ]; then
|
||||
phpenv config-rm xdebug.ini
|
||||
else
|
||||
echo "xdebug.ini does not exist"
|
||||
fi
|
||||
|
||||
install:
|
||||
- composer require wp-cli/wp-cli:dev-master
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue