Test support for Django 1.7

This commit is contained in:
Juda Kaleta 2014-09-26 18:53:43 +02:00
parent 2696c0488b
commit 09f8aa1779
3 changed files with 5 additions and 0 deletions

1
.gitignore vendored
View file

@ -6,3 +6,4 @@ dist
*.egg
.coverage
htmlcov
.idea

View file

@ -6,6 +6,7 @@ python:
env:
- DJANGO_VERSION=1.5.2
- DJANGO_VERSION=1.6.5
- DJANGO_VERSION=1.7.0
install:
- pip install -q Django==$DJANGO_VERSION
- pip install coveralls

View file

@ -1,4 +1,7 @@
import os
import django
os.environ['DJANGO_SETTINGS_MODULE'] = 'embed_video.tests.django_settings'
if django.VERSION[:2] >= (1, 7):
django.setup()