Browse Source

Install unittest2 for python2.6.

Jelmer Vernooij 10 years ago
parent
commit
b4d89c12ae
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .travis.yml

+ 1 - 1
.travis.yml

@@ -13,4 +13,4 @@ script:
 install:
   - sudo apt-get update
   - sudo apt-get install -qq git python-setuptools python-gevent python-fastimport python-mock
-  - sudo pip install unittest2
+  - if [[ $TRAVIS_PYTHON_VERSION == 2* ]]; then pip install unittest2; fi