mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
ci: use embedded composer in docker image instead of reinstalling it
This commit is contained in:
parent
610f129cae
commit
542b6ccc83
@ -39,10 +39,9 @@ build:
|
|||||||
stage: Composer install
|
stage: Composer install
|
||||||
image: gitea.champs-libres.be/chill-project/chill-skeleton-basic/base-image:php82
|
image: gitea.champs-libres.be/chill-project/chill-skeleton-basic/base-image:php82
|
||||||
before_script:
|
before_script:
|
||||||
- curl -sS https://getcomposer.org/installer | php
|
- composer config -g cache-dir "$(pwd)/.cache"
|
||||||
- php -d memory_limit=2G composer.phar config -g cache-dir "$(pwd)/.cache"
|
|
||||||
script:
|
script:
|
||||||
- php -d memory_limit=2G composer.phar install --optimize-autoloader --no-ansi --no-interaction --no-progress
|
- composer install --optimize-autoloader --no-ansi --no-interaction --no-progress
|
||||||
cache:
|
cache:
|
||||||
paths:
|
paths:
|
||||||
- .cache/
|
- .cache/
|
||||||
@ -57,7 +56,6 @@ code_style:
|
|||||||
image: gitea.champs-libres.be/chill-project/chill-skeleton-basic/base-image:php82
|
image: gitea.champs-libres.be/chill-project/chill-skeleton-basic/base-image:php82
|
||||||
script:
|
script:
|
||||||
- php-cs-fixer fix --dry-run -v --show-progress=none
|
- php-cs-fixer fix --dry-run -v --show-progress=none
|
||||||
- bin/grumphp run --tasks=phpcsfixer
|
|
||||||
cache:
|
cache:
|
||||||
paths:
|
paths:
|
||||||
- .cache/
|
- .cache/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user