Skip to content

Commit

Permalink
Added back support for 1.4 django and implementing the suggestion from
Browse files Browse the repository at this point in the history
  • Loading branch information
galuszkak committed Jul 15, 2014
1 parent 00ecbec commit 269b286
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
7 changes: 5 additions & 2 deletions .travis.yml
Expand Up @@ -2,14 +2,17 @@ language: python
python:
- "2.6"
- "2.7"
- "3.3"
- "3.4"
env:
- DJANGO=1.4
- DJANGO=1.5
- DJANGO=1.6
- DJANGO=https://www.djangoproject.com/download/1.7c1/tarball/
# command to install dependencies
install:
install:
- pip install unittest2
- pip install django==$DJANGO
- "pip install -r requirements.txt"
# command to run tests
script: python tests.py
script: python tests.py
7 changes: 6 additions & 1 deletion django_behave/runner.py
Expand Up @@ -15,7 +15,12 @@
from django.test import LiveServerTestCase

from django.db.models import get_app
from django.utils import six

try: # I'm not sure if Django 1.4 does have six package
from django.utils.six.moves import range
except ImportError:
pass

from behave.configuration import Configuration, ConfigError, options
from behave.runner import Runner as BehaveRunner
from behave.parser import ParserError
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
@@ -1,4 +1,4 @@
Django>=1.5
Django>=1.4
selenium
parse
behave>=1.2.3

0 comments on commit 269b286

Please sign in to comment.