try to fix correct values for redis

This commit is contained in:
Julien Fastré 2021-04-27 18:06:58 +02:00
parent 5f4d513aa6
commit 8641d6bdce

View File

@ -9,8 +9,6 @@ cache:
before_script:
# add extensions to postgres
- PGPASSWORD=$POSTGRES_PASSWORD psql -U $POSTGRES_USER -h db -c "CREATE EXTENSION IF NOT EXISTS unaccent; CREATE EXTENSION IF NOT EXISTS pg_trgm;"
# copy base parameters
- cp tests/app/.env.dist tests/app/.env
# Install and run Composer
- curl -sS https://getcomposer.org/installer | php
- php composer.phar install
@ -32,6 +30,10 @@ variables:
POSTGRES_PASSWORD: postgres
# fetch the chill-app using git submodules
GIT_SUBMODULE_STRATEGY: recursive
REDIS_HOST: redis
REDIS_PORT: 6379
REDIS_URL: redis://redis:6379
# Run our tests
test: