Lance les tests de gestioCOF sur gitlab-ci

This commit is contained in:
Basile Clement 2016-11-13 11:29:28 +01:00
parent b60365ddd6
commit a5ee17d0b5
3 changed files with 43 additions and 1 deletions

View file

@ -98,6 +98,7 @@ DATABASES = {
'NAME': os.environ['DBNAME'],
'USER': os.environ['DBUSER'],
'PASSWORD': os.environ['DBPASSWD'],
'HOST': os.environ.get('DBHOST', 'localhost'),
}
}
@ -179,7 +180,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",
}