Bump the Travis CI memory limit to 2048MB#136
Merged
schlessera merged 2 commits intowp-cli:masterfrom Apr 10, 2018
stevegrunwell:fix/raise-travis-memory-limit
Merged
Bump the Travis CI memory limit to 2048MB#136schlessera merged 2 commits intowp-cli:masterfrom stevegrunwell:fix/raise-travis-memory-limit
schlessera merged 2 commits intowp-cli:masterfrom
stevegrunwell:fix/raise-travis-memory-limit
Conversation
The Behat tests are currently running out of memory in PHP 5.3 environments, as noted by @schlessera in wp-cli/entity-command#161. This uses the same code as wp-cli/entity-command@f449ea9 to raise the memory_limit within Travis' PHP configuration.
This was referenced Apr 6, 2018
schlessera
requested changes
Apr 10, 2018
.travis.yml
Outdated
| echo "xdebug.ini does not exist" | ||
| fi | ||
| - | | ||
| # Raise PHP memory limit to 256MB |
Member
There was a problem hiding this comment.
This was wrong in my original commit, we actually raise it to 2048MB.
Member
|
@stevegrunwell Thanks for the PR. Unfortunately, I had an error in my original commit's comment and you've copied that into this PR as well. As soon as this is redressed, we can merge this. |
…you copy it from a @schlessera commit. Updates comment above the line bumping Travis CI's memory_limit to accurately reflect what's happening (2GB, not 256MB).
Contributor
Author
|
@schlessera D'oh, that's what I get for blindly copying. An updated version of the comment has been pushed. Thanks for catching that! |
schlessera
approved these changes
Apr 10, 2018
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Behat tests are currently running out of memory in PHP 5.3 environments, as noted by @schlessera in wp-cli/entity-command#161.
This uses the same code as wp-cli/entity-command@f449ea9 to raise the memory_limit within Travis' PHP configuration.