fix auth and database url

This commit is contained in:
Julien Fastré 2015-10-26 21:13:47 +01:00
parent c47ad68586
commit 7baa7bddc3
3 changed files with 4 additions and 2 deletions

2
.gitignore vendored
View File

@ -25,3 +25,5 @@ bin/*
/tmp/* /tmp/*
src/Chill/CustomFieldsBundle/vendor/* src/Chill/CustomFieldsBundle/vendor/*
bootstrap.php.cache bootstrap.php.cache
#the file created by composer to store creds
auth.json

View File

@ -2,7 +2,7 @@ services:
- chill/database:latest - chill/database:latest
before_script: before_script:
- composer config -g github-oauth.github.com $GITHUB_TOKEN - composer config github-oauth.github.com $GITHUB_TOKEN
- composer install --no-interaction - composer install --no-interaction
- cp Tests/Fixtures/App/app/config/parameters.gitlab-ci.yml Tests/Fixtures/App/app/config/parameters.yml - cp Tests/Fixtures/App/app/config/parameters.gitlab-ci.yml Tests/Fixtures/App/app/config/parameters.yml
- ./console.sh --env=test cache:warmup - ./console.sh --env=test cache:warmup

View File

@ -1,5 +1,5 @@
parameters: parameters:
database_host: localhost database_host: chill__database
database_port: 5432 database_port: 5432
database_name: postgres database_name: postgres
database_user: postgres database_user: postgres