Skip to content

Commit f8da6da

Browse files
authored
Fix WP-CLI run on Travis CI deploy (#926)
1 parent 0853958 commit f8da6da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/release.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ for i in $(find vendor/ -type l); do \cp -f --remove-destination $(realpath $i)
1818
wget -O /tmp/wp https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
1919
chmod +x /tmp/wp
2020

21-
# Update the POT language file.
22-
/tmp/wp i18n make-pot . languages/w3-total-cache.pot
21+
# Update the POT language file. Set "xdebug.max_nesting_level=512" to avoid errors.
22+
php -d xdebug.max_nesting_level=512 /tmp/wp i18n make-pot . languages/w3-total-cache.pot
2323

2424
# Create a tag in the Wordpress.org SVN repo when after your build succeeds via Travis.
2525
# @link https://github.com/BoldGrid/wordpress-tag-sync

0 commit comments

Comments
 (0)