mirror of
https://github.com/CodeforLeipzig/stadtratmonitor.git
synced 2024-12-22 23:53:15 +01:00
set environment so that coveralls send data
This commit is contained in:
parent
cb4db8c1b1
commit
84c0681aea
3 changed files with 4 additions and 4 deletions
2
.ci.env
Normal file
2
.ci.env
Normal file
|
@ -0,0 +1,2 @@
|
|||
CI=true
|
||||
TRAVIS=true
|
|
@ -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
|
|
@ -8,5 +8,6 @@ web:
|
|||
- elasticsearch
|
||||
environment:
|
||||
ELASTICSEARCH_URL: 'http://elasticsearch:9200'
|
||||
env_file: ${ENV_FILE}
|
||||
elasticsearch:
|
||||
image: elasticsearch:1.7
|
||||
|
|
Loading…
Reference in a new issue