travis: build on django 1.5 and 1.6

This commit is contained in:
Thomas Waldmann 2013-12-13 02:40:39 +01:00
parent e3104dec57
commit cc4cd1c805
2 changed files with 11 additions and 5 deletions

View File

@ -3,10 +3,16 @@ python:
- "2.6" - "2.6"
- "2.7" - "2.7"
- "pypy" - "pypy"
env:
global:
- SECRET_KEY=justfortravis
matrix:
- DJANGO=1.5.5
- DJANGO=1.6.1
install: install:
- "pip install --upgrade --use-mirrors -e ." - "pip install --use-mirrors Django==$DJANGO"
- "pip install coveralls" - "pip install --use-mirrors -e ."
env: SECRET_KEY=justfortravis - "pip install --use-mirrors coveralls"
script: "coverage run -m py.test --pep8" script: "coverage run -m py.test --pep8"
after_success: after_success:
- coveralls - coveralls

View File

@ -42,8 +42,8 @@ setup(
zip_safe=False, zip_safe=False,
platforms='any', platforms='any',
install_requires=[ install_requires=[
'django >=1.5.3, <1.6', # 1.5.3 has the session serializer configurable 'django >=1.5.3, <1.7', # 1.5.3 has the session serializer configurable
# 1.6 is not tested yet # 1.7 is not tested yet
'dnspython', 'dnspython',
'south', 'south',
'django-bootstrap-form', 'django-bootstrap-form',