travis: build on django 1.5 and 1.6
This commit is contained in:
parent
e3104dec57
commit
cc4cd1c805
12
.travis.yml
12
.travis.yml
@ -3,10 +3,16 @@ python:
|
||||
- "2.6"
|
||||
- "2.7"
|
||||
- "pypy"
|
||||
env:
|
||||
global:
|
||||
- SECRET_KEY=justfortravis
|
||||
matrix:
|
||||
- DJANGO=1.5.5
|
||||
- DJANGO=1.6.1
|
||||
install:
|
||||
- "pip install --upgrade --use-mirrors -e ."
|
||||
- "pip install coveralls"
|
||||
env: SECRET_KEY=justfortravis
|
||||
- "pip install --use-mirrors Django==$DJANGO"
|
||||
- "pip install --use-mirrors -e ."
|
||||
- "pip install --use-mirrors coveralls"
|
||||
script: "coverage run -m py.test --pep8"
|
||||
after_success:
|
||||
- coveralls
|
||||
|
4
setup.py
4
setup.py
@ -42,8 +42,8 @@ setup(
|
||||
zip_safe=False,
|
||||
platforms='any',
|
||||
install_requires=[
|
||||
'django >=1.5.3, <1.6', # 1.5.3 has the session serializer configurable
|
||||
# 1.6 is not tested yet
|
||||
'django >=1.5.3, <1.7', # 1.5.3 has the session serializer configurable
|
||||
# 1.7 is not tested yet
|
||||
'dnspython',
|
||||
'south',
|
||||
'django-bootstrap-form',
|
||||
|
Loading…
x
Reference in New Issue
Block a user