Skip to content
Snippets Groups Projects
Commit 5ffb7ac1 authored by Jonathan Smith's avatar Jonathan Smith Committed by Jonathan Smith
Browse files

Issue #3179392 by jonathan1055: Revert to Composer 1 in Travis build for core 8.8.x

parent f2eb5b79
Branches 8.x-1.x
No related tags found
No related merge requests found
......@@ -93,8 +93,13 @@ before_script:
travis_retry git clone --branch 8.x-1.x --depth 1 https://git.drupalcode.org/project/typed_data.git modules/typed_data
fi
# Run composer self-update and install.
- travis_retry composer self-update && travis_retry composer install
# At job start-up Composer is installed at 1.8.4 then self-update is run. From
# 24 October 2020 this bumped the version to Composer 2. Drupal Core 8.8 has
# plugins that only run with composer-plugin-api ^1.0 so revert to Composer 1.
- if [ "$DRUPAL_CORE" == "8.8.x" ]; then
travis_retry composer self-update --1;
fi
- travis_retry composer install
# Install drush. COMPOSER_MEMORY_LIMIT=-1 fixes the 'Allowed memory exhausted'
# problem when running at core 8.8.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment