Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ python:
- "3.4"
env:
- DJANGO="django==1.6" REST="djangorestframework==2.3.14" PANDAS="pandas==0.14.1"
- DJANGO="https://www.djangoproject.com/download/1.7c2/tarball/" REST="djangorestframework==2.3.14" PANDAS="pandas==0.14.1"
install:
- pip install $DJANGO
- pip install $REST
Expand Down
5 changes: 5 additions & 0 deletions tests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,10 @@
from django.test.utils import setup_test_environment
setup_test_environment()

# Django 1.7
import django
if hasattr(django, 'setup'):
django.setup()

from django.core.management import call_command
call_command('syncdb')