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.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
|
||||||
|
4
setup.py
4
setup.py
@ -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',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user