Skip to content

Commit

Permalink
EWPP-3122: No need to run install before update on composer 2.
Browse files Browse the repository at this point in the history
  • Loading branch information
brummbar committed Feb 15, 2023
1 parent b057798 commit c1fd779
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ services:
web:
image: registry.fpfis.eu/fpfis/httpd-php:${PHP_VERSION}-ci
environment:
- COMPOSERVER=--2
- DOCUMENT_ROOT=/test/ecl-twig-loader

pipeline:
Expand All @@ -25,15 +26,18 @@ pipeline:
volumes:
- /cache:/cache
commands:
- composer install --ansi --no-suggest --no-progress
- composer install --ansi --no-progress
when:
matrix:
COMPOSER_BOUNDARY: highest

composer-update-lowest:
group: post-prepare
image: registry.fpfis.eu/fpfis/httpd-php:${PHP_VERSION}-ci
volumes:
- /cache:/cache
commands:
- composer update --prefer-lowest --ansi --no-suggest --no-progress
- composer update --prefer-lowest --ansi --no-progress
when:
matrix:
COMPOSER_BOUNDARY: lowest
Expand Down

0 comments on commit c1fd779

Please sign in to comment.