Skip to content

Commit 36bb178

Browse files
committed
Added a Django 1.4 test environment to Travis config.
1 parent 31faa3e commit 36bb178

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.travis.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,10 @@ language: python
22
python:
33
- "2.6"
44
- "2.7"
5-
install: python setup.py install
6-
script: python setup.py test
5+
env:
6+
- DJANGO_VERSION=1.3.1
7+
- DJANGO_VERSION=1.4
8+
install:
9+
- pip install -q Django==$DJANGO_VERSION
10+
- python setup.py install
11+
script: python setup.py test

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
license='BSD',
1414
packages=find_packages(exclude=('tests', 'example')),
1515
tests_require=[
16-
'django>=1.1,<1.4',
16+
'django>=1.1,<1.5',
1717
'dingus',
1818
],
1919
test_suite='runtests.runtests',

0 commit comments

Comments
 (0)