set environment so that coveralls send data

This commit is contained in:
Joerg Reichert 2016-03-05 22:49:59 +01:00
parent cb4db8c1b1
commit 84c0681aea
3 changed files with 4 additions and 4 deletions

2
.ci.env Normal file
View file

@ -0,0 +1,2 @@
CI=true
TRAVIS=true

View file

@ -5,9 +5,6 @@ language: ruby
services:
- docker
after_success:
- CI=true TRAVIS=true coveralls --verbose
script:
- docker-compose run web rake db:setup
- docker-compose run web rspec
- docker-compose -e ENV_FILE=./.ci.env run web rspec

View file

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