Merge branch 'Elarnon/ci' into 'master'

Lance les tests de gestioCOF sur gitlab-ci



See merge request !116
This commit is contained in:
Martin Pepin 2016-11-14 06:41:27 +01:00
commit 297164aae0
3 changed files with 43 additions and 1 deletions

View file

@ -99,6 +99,7 @@ DATABASES = {
'NAME': os.environ['DBNAME'],
'USER': os.environ['DBUSER'],
'PASSWORD': os.environ['DBPASSWD'],
'HOST': os.environ.get('DBHOST', 'localhost'),
}
}
@ -176,7 +177,7 @@ CHANNEL_LAYERS = {
"default": {
"BACKEND": "asgi_redis.RedisChannelLayer",
"CONFIG": {
"hosts": [("localhost", 6379)],
"hosts": [(os.environ.get("REDIS_HOST", "localhost"), 6379)],
},
"ROUTING": "cof.routing.channel_routing",
}