mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-11-23 11:56:36 +11:00
Test multiple Django versions on Travis.
This commit is contained in:
parent
f1be2e324e
commit
012a268b59
1 changed files with 17 additions and 1 deletions
18
.travis.yml
18
.travis.yml
|
@ -1,11 +1,27 @@
|
||||||
language: python
|
language: python
|
||||||
|
|
||||||
python:
|
python:
|
||||||
- "2.7"
|
- "2.7"
|
||||||
- "3.3"
|
- "3.3"
|
||||||
|
|
||||||
|
env:
|
||||||
|
- DJANGO=1.4
|
||||||
|
- DJANGO=1.5
|
||||||
|
- DJANGO=1.6
|
||||||
|
|
||||||
|
matrix:
|
||||||
|
exclude:
|
||||||
|
- python: 3.3
|
||||||
|
env: DJANGO=1.4
|
||||||
|
- python: 3.3
|
||||||
|
env: DJANGO=1.5
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- "pip install Django==1.6"
|
- "pip install Django==$DJANGO"
|
||||||
- "pip install -e ."
|
- "pip install -e ."
|
||||||
|
|
||||||
script:
|
script:
|
||||||
coverage run --rcfile=.coverage.rc runtests.py
|
coverage run --rcfile=.coverage.rc runtests.py
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
coveralls --config_file=.coverage.rc --coveralls_yaml=.coveralls.yml
|
coveralls --config_file=.coverage.rc --coveralls_yaml=.coveralls.yml
|
||||||
|
|
Loading…
Reference in a new issue