fix: composer-install use ignore-platform-reqs for speed
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
ExtraNetwork
2026-05-13 09:53:37 +03:00
parent 771849ddec
commit 201be50db3

View File

@@ -11,19 +11,15 @@ trigger:
steps: steps:
# ------------------------------------------------------- # -------------------------------------------------------
# 1. Bağımlılıkları kur (PHP 7.3 zorunlu) # 1. Bağımlılıkları kur
# ------------------------------------------------------- # -------------------------------------------------------
- name: composer-install - name: composer-install
image: php:7.3-cli image: composer:2.2
volumes: volumes:
- name: composer-cache - name: composer-cache
path: /root/.composer/cache path: /root/.composer/cache
commands: commands:
- apt-get update -qq - composer install --no-dev --optimize-autoloader --no-interaction --prefer-dist --ignore-platform-reqs
- apt-get install -y --no-install-recommends unzip curl libzip-dev libpng-dev libxml2-dev libonig-dev > /dev/null 2>&1
- docker-php-ext-install pdo pdo_mysql zip mbstring > /dev/null 2>&1
- curl -sS https://getcomposer.org/installer | php -- --2.2 --install-dir=/usr/local/bin --filename=composer
- composer install --no-dev --optimize-autoloader --no-interaction --prefer-dist
# ------------------------------------------------------- # -------------------------------------------------------
# 2. PHP Unit testlerini çalıştır # 2. PHP Unit testlerini çalıştır