Travis configuration

This commit is contained in:
Iacopo Spalletti 2014-06-11 01:08:27 +02:00
parent 58a9c41a21
commit 2b9836c1cb
2 changed files with 27 additions and 9 deletions

View File

@ -3,12 +3,32 @@
language: python language: python
python: python:
- "3.3" - 2.7
- "2.7" - 2.6
- "2.6"
env:
matrix:
- DJANGO='django>=1.4,<1.5'
- DJANGO='django>=1.5,<1.6'
- DJANGO='django>=1.6,<1.7'
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors # command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install: pip install -r requirements-test.txt install:
- pip install $DJANGO
- pip install -r requirements-test.txt
# command to run tests, e.g. python setup.py test # command to run tests, e.g. python setup.py test
script: python runtests.py script: coverage run runtests.py
after_success: coveralls
matrix:
exclude:
- python: 3.3
env: DJANGO='django>=1.4,<1.5'
allow_failures:
- python: 3.3
env: DJANGO='django>=1.5,<1.6'
- python: 3.3
env: DJANGO='django>=1.6,<1.7'

View File

@ -1,8 +1,6 @@
django>=1.5.1 -r requirements.txt
django-cms>3.0
coverage coverage
coveralls
mock>=1.0.1 mock>=1.0.1
nose>=1.3.0 nose>=1.3.0
django-nose>=1.2 django-nose>=1.2
# Additional test requirements go here