build(ci): require ext-oci8 in composer.json and add ignore-platform-req in GitLab CI
This commit is contained in:
parent
72a4278ca6
commit
d508a0cb86
3 changed files with 6 additions and 4 deletions
|
|
@ -41,7 +41,7 @@ include:
|
|||
before_script:
|
||||
- apk add --no-cache icu-dev && docker-php-ext-install bcmath intl
|
||||
- composer config gitlab-token.lab.s-web.fr "${CI_DEPLOY_USER}" "${CI_DEPLOY_PASSWORD}"
|
||||
- composer install --no-interaction --optimize-autoloader --no-scripts
|
||||
- composer install --no-interaction --optimize-autoloader --no-scripts --ignore-platform-req=ext-oci8
|
||||
rules:
|
||||
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
||||
- if: $CI_COMMIT_BRANCH == "develop"
|
||||
|
|
@ -111,7 +111,7 @@ tests_laravel:
|
|||
before_script:
|
||||
- apk add --no-cache $PHPIZE_DEPS linux-headers icu-dev && docker-php-ext-install bcmath intl && pecl install pcov && docker-php-ext-enable pcov
|
||||
- composer config gitlab-token.lab.s-web.fr "${CI_DEPLOY_USER}" "${CI_DEPLOY_PASSWORD}"
|
||||
- composer install --no-interaction --prefer-dist --optimize-autoloader --no-scripts
|
||||
- composer install --no-interaction --prefer-dist --optimize-autoloader --no-scripts --ignore-platform-req=ext-oci8
|
||||
script:
|
||||
- cp .env.testing .env
|
||||
- php artisan key:generate
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@
|
|||
"ext-bcmath": "*",
|
||||
"ext-intl": "*",
|
||||
"ext-mbstring": "*",
|
||||
"ext-oci8": "*",
|
||||
"laravel/framework": "^13.24",
|
||||
"laravel/sanctum": "^4.0",
|
||||
"psr/clock": "^1.0",
|
||||
|
|
|
|||
5
composer.lock
generated
5
composer.lock
generated
|
|
@ -4,7 +4,7 @@
|
|||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||
"This file is @generated automatically"
|
||||
],
|
||||
"content-hash": "f4587f38615f44811e032521737f785a",
|
||||
"content-hash": "be8373b5ec01af6a0375ffef89d984b6",
|
||||
"packages": [
|
||||
{
|
||||
"name": "brick/math",
|
||||
|
|
@ -11843,7 +11843,8 @@
|
|||
"php": "^8.5",
|
||||
"ext-bcmath": "*",
|
||||
"ext-intl": "*",
|
||||
"ext-mbstring": "*"
|
||||
"ext-mbstring": "*",
|
||||
"ext-oci8": "*"
|
||||
},
|
||||
"platform-dev": {},
|
||||
"plugin-api-version": "2.9.0"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue