Since 23 Sept the core 8.8 branch in Travis testing has failed with

The command "composer require drush/drush:^9.0 || ^10.0" failed.

No code has been changed, and up to 22 Sept the branch was passing OK.

Above this is the error

PHP Fatal error:  Allowed memory size of 1610612736 bytes exhausted (tried to allocate 67108864 bytes) in phar:///home/travis/.phpenv/versions/7.1.27/bin/composer/src/Composer/DependencyResolver/Solver.php on line 223

Comments

jonathan1055 created an issue. See original summary.

jonathan1055’s picture

Title: Travis build: "composer require drush/drush:^9.0 || ^10.0" failed » Travis build: "composer require drush/drush:^9.0 || ^10.0" failed (allowed memory exhausted)
Issue summary: View changes

Drush loads fine locally, there is no conflict with core 8.8 requirements. It is a problem with memory:

PHP Fatal error:  Allowed memory size of 1610612736 bytes exhausted (tried to allocate 67108864 bytes) in phar:///home/travis/.phpenv/versions/7.1.27/bin/composer/src/Composer/DependencyResolver/Solver.php on line 223

Thanks to a bit of searching I found #3094170: Guardr Project Travis build failures (out of memory) and a simple addition of COMPOSER_MEMORY_LIMIT=-1 at the start of the command fixes the problem.

  • jonathan1055 committed c9e3f98 on 8.x-1.x
    Issue #3173305 by jonathan1055: Travis build: "composer require drush/...
jonathan1055’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.