Move travis-ci related settings files into their own module.

This commit is contained in:
Roberto Rosario
2015-08-19 01:30:07 -04:00
parent e084445aa4
commit 83974d5656
6 changed files with 5 additions and 5 deletions

View File

@@ -19,9 +19,9 @@ before_script:
- mysql -e 'create database mayan_edms;'
- psql -c 'create database mayan_edms;' -U postgres
script:
- if [[ $DB == mysql ]]; then coverage run manage.py test $TEST_APPS --settings=mayan.settings.travis.db_mysql; fi
- if [[ $DB == postgres ]]; then coverage run manage.py test $TEST_APPS --settings=mayan.settings.travis.db_postgres; fi
- if [[ $DB == sqlite ]]; then coverage run manage.py test $TEST_APPS --settings=mayan.settings.travis.base; fi
- if [[ $DB == mysql ]]; then coverage run manage.py test $TEST_APPS --settings=mayan.settings.testing.travis.db_mysql; fi
- if [[ $DB == postgres ]]; then coverage run manage.py test $TEST_APPS --settings=mayan.settings.testing.travis.db_postgres; fi
- if [[ $DB == sqlite ]]; then coverage run manage.py test $TEST_APPS --settings=mayan.settings.testing.base; fi
after_success:
- coveralls
branches:

View File

@@ -1,6 +1,6 @@
from __future__ import unicode_literals
from .base import * # NOQA
from ..base import * # NOQA
DATABASES = {
'default': {

View File

@@ -1,6 +1,6 @@
from __future__ import unicode_literals
from .base import * # NOQA
from ..base import * # NOQA
DATABASES = {
'default': {