forked from mirror/django-mailbox
convert migrations to work with Django 1.7, add Django 1.7.1 to travis test matrix
This commit is contained in:
parent
ecc8ac8bcc
commit
2d82c00c5b
22 changed files with 139 additions and 68 deletions
|
|
@ -3,6 +3,7 @@ import sys
|
|||
|
||||
from os.path import dirname, abspath
|
||||
|
||||
from django import setup
|
||||
from django.conf import settings
|
||||
|
||||
if not settings.configured:
|
||||
|
|
@ -27,6 +28,8 @@ def runtests(*test_args):
|
|||
test_args = ['django_mailbox']
|
||||
parent = dirname(abspath(__file__))
|
||||
sys.path.insert(0, parent)
|
||||
# ensure that AppRegistry has loaded
|
||||
setup()
|
||||
runner = DjangoTestSuiteRunner(
|
||||
verbosity=1,
|
||||
interactive=False,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue