Skip to content
Snippets Groups Projects
Commit a5e2547c authored by jurgenhaas's avatar jurgenhaas
Browse files

Add --with-all-dependencies to composer update

parent 8b6a525f
No related branches found
No related tags found
No related merge requests found
......@@ -713,14 +713,14 @@ Debug:
- if [[ $DOINSTALL -eq 1 ]]; then composer install --no-interaction --no-progress --no-dev; fi
- if [[ $DOINSTALL -eq 1 ]]; then git add * >/dev/null 2>&1 || true; fi
- if [[ $DOINSTALL -eq 1 ]]; then echo "Initial installation" >/tmp/test.log; fi
- if [[ $DOINSTALL -eq 0 ]]; then composer update --no-interaction --no-progress --no-dev --dry-run $NAMESPACES_CHECK_UPDATE >/tmp/test.log 2>&1 || EC=$?; fi
- if [[ $DOINSTALL -eq 0 ]]; then composer update --with-all-dependencies --no-interaction --no-progress --no-dev --dry-run $NAMESPACES_CHECK_UPDATE >/tmp/test.log 2>&1 || EC=$?; fi
- if [[ $EC -ne 0 ]]; then cat /tmp/test.log; exit 1; fi
- EC=0
- grep "Nothing to modify in lock file" /tmp/test.log || EC=$?
- if [[ $EC -ne 0 ]]; then DOUPDATE=1; fi
- rm /tmp/test.log >/dev/null 2>&1 || true
- if [[ $DOUPDATE -eq 0 ]]; then exit 0; fi
- composer update --no-interaction --no-progress --no-dev
- composer update --with-all-dependencies --no-interaction --no-progress --no-dev
only:
variables:
- $CHECKUPDATES
......@@ -795,7 +795,7 @@ Debug:
- !reference [.prepareaccess, before_script]
- !reference [.preparecomposerplugins, before_script]
script:
- composer update --no-interaction --no-progress
- composer update --with-all-dependencies --no-interaction --no-progress
- composer diagnose --no-interaction || true
- composer audit --no-dev --locked --format=table
rules:
......@@ -832,7 +832,7 @@ Debug:
- !reference [.prepareaccess, before_script]
- !reference [.preparecomposerplugins, before_script]
script:
- composer update --no-interaction --no-progress
- composer update --with-all-dependencies --no-interaction --no-progress
- composer outdated --minor-only --strict --no-interaction $OUTDATED_EXTRAS
- composer outdated --patch-only --strict --no-interaction $OUTDATED_EXTRAS
rules:
......
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