Use unittest2 for Python < 2.7

This commit is contained in:
Takafumi Arakaki committed 2013-03-10 21:28:27 +01:00
1 parent 3542b7f80a
commit ab79689cee
4 files changed
+17 -10

No files matched your search

+6 -1
View File
@@ -5,7 +5,12 @@ python:
- 2.7
- 3.2
install:
- if [[ $TRAVIS_PYTHON_VERSION == '2.5' ]]; then pip install --use-mirrors simplejson; fi
- if [[ $TRAVIS_PYTHON_VERSION == '2.5' ]]; then
pip install --use-mirrors simplejson unittest2;
fi
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then
pip install --use-mirrors unittest2;
fi
- pip install --use-mirrors nose
script:
- cd test