Update travis config.

This commit is contained in:
Antoine Nguyen
2015-11-09 19:14:06 +01:00
parent 1e543896a4
commit 39444fbf54
2 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ before_script:
script:
- python ./tests.py
- cd test_project
- coverage run --source ../modoboa manage.py test modoboa.core modoboa.lib
- coverage run --source ../modoboa manage.py test modoboa.core modoboa.lib modoboa.admin.tests modoboa.limits modoboa.relaydomains
after_success:
- codecov
+5 -4
View File
@@ -55,8 +55,9 @@ MODOBOA_APPS = (
'modoboa',
'modoboa.core',
'modoboa.lib',
# Modoboa extensions here.
'modoboa.admin',
'modoboa.limits',
'modoboa.relaydomains',
)
INSTALLED_APPS += MODOBOA_APPS
@@ -94,7 +95,7 @@ WSGI_APPLICATION = 'test_project.wsgi.application'
# https://docs.djangoproject.com/en/1.6/ref/settings/#databases
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': 'modoboa_test',
@@ -103,7 +104,7 @@ DATABASES = {
'HOST': 'localhost',
'PORT': '',
'ATOMIC_REQUESTS': True,
},
}