Use unittest2 in travis for py2.6

This commit is contained in:
Nicolas Dandrimont 2013-05-04 09:55:20 +02:00
parent 6948fff112
commit 45db4a8d0f

View File

@ -8,6 +8,7 @@ python:
# command to install dependencies # command to install dependencies
install: install:
- pip install -r requirements.txt --use-mirrors - pip install -r requirements.txt --use-mirrors
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install unittest2 --use-mirrors; fi
- python setup.py -q install - python setup.py -q install
# # command to run tests # # command to run tests
script: nosetests script: nosetests