set ci environment

This commit is contained in:
Joerg Reichert 2016-03-05 22:56:03 +01:00
parent 84c0681aea
commit 580d8c6fce
2 changed files with 2 additions and 2 deletions

View file

@ -7,4 +7,4 @@ services:
script:
- docker-compose run web rake db:setup
- docker-compose -e ENV_FILE=./.ci.env run web rspec
- docker-compose run web rspec

View file

@ -8,6 +8,6 @@ web:
- elasticsearch
environment:
ELASTICSEARCH_URL: 'http://elasticsearch:9200'
env_file: ${ENV_FILE}
env_file: ./.ci.env
elasticsearch:
image: elasticsearch:1.7