mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 13:54:23 +00:00
configure composer to install vendor in custom path
This configuration is done using local environment variable (previous config was overwritten by mistake)
This commit is contained in:
parent
259d0b5668
commit
58bb471d32
@ -5,6 +5,7 @@ image: registry.gitlab.com/chill-projet/chill-app/php-base-image:7.4
|
|||||||
cache:
|
cache:
|
||||||
paths:
|
paths:
|
||||||
- tests/app/vendor/
|
- tests/app/vendor/
|
||||||
|
- /tmp/composer-cache
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
# add extensions to postgres
|
# add extensions to postgres
|
||||||
@ -34,6 +35,10 @@ variables:
|
|||||||
REDIS_HOST: redis
|
REDIS_HOST: redis
|
||||||
REDIS_PORT: 6379
|
REDIS_PORT: 6379
|
||||||
REDIS_URL: redis://redis:6379
|
REDIS_URL: redis://redis:6379
|
||||||
|
# change vendor dir to make the app install into tests/apps
|
||||||
|
COMPOSER_VENDOR_DIR: tests/app/vendor
|
||||||
|
# cache some composer data
|
||||||
|
COMPOSER_HOME: /tmp/composer-cache
|
||||||
|
|
||||||
|
|
||||||
# Run our tests
|
# Run our tests
|
||||||
|
Loading…
x
Reference in New Issue
Block a user