Skip to content
This repository has been archived by the owner on Aug 1, 2022. It is now read-only.

FIX Use composer update for prefer-lowest #36

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion config/base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,9 @@ before_script:
- if [[ $(composer validate 2>&1 | tr '\n' ' ') =~ ' is valid' ]]; then cat composer.json; fi

# Install with --prefer-source to ensure that admin javascript (which has export-ignore in .gitattributes) is installed so that NPM_TEST works properly
- composer install --prefer-source --no-interaction --no-progress --optimize-autoloader --verbose --profile $COMPOSER_INSTALL_ARG
# $COMPOSER_INSTALL_ARG is sometimes --prefer-lowest which is only supported by `composer update`, not `composer install`
# Modules do not have composer.lock files, so `composer update` is the same speed as `composer install`
- composer update --prefer-source --no-interaction --no-progress --optimize-autoloader --verbose --profile $COMPOSER_INSTALL_ARG
- composer show

# Remove vendor unit tests files that were installed because of the use of --prefer-source
Expand Down