Skip to content

Commit

Permalink
Do not break travis build if disabling Xdebug fails
Browse files Browse the repository at this point in the history
  • Loading branch information
romainruaud committed Jul 31, 2020
1 parent a80a835 commit 3d80a72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Resources/travis/prepare_php.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -e
trap '>&2 echo Error: Command \`$BASH_COMMAND\` on line $LINENO failed with exit code $?' ERR
echo '==> Disabling xdebug, adjusting memory limit to -1.'
phpenv config-rm xdebug.ini
echo '==> Disabling xdebug if needed, adjusting memory limit to -1.'
phpenv config-rm xdebug.ini || return 0
echo 'memory_limit = -1' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
phpenv rehash;

0 comments on commit 3d80a72

Please sign in to comment.