language: python
python:
  - 2.6
  - 2.7
  - pypy
install:
  - pip install -r tests/requirements.txt
  - pip install .
script: nosetests -q tests
services: mongodb

language: python
python:
  - 2.6
  - 2.7
  - pypy
install:
  - if [[ $TRAVIS_PYTHON_VERSION= 2.6 ]]; then pip install unittest2 --use-mirrors; fi
  - pip install -r tests/requirements.txt
  - pip install .
script: nosetests -q tests
services: mongodb

Add unittest2 for Python 2.6 on Travis CI
Add unittest2 for Python 2.6 on Travis CI

Hopefully this syntax works. *fingers crossed*
