language: python
python:
  - "2.6"
  - "2.7"
# command to install dependencies
install: "python setup.py install"
# command to run tests
script: nosetests

language: python
python:
  - "2.6"
  - "2.7"
# command to install dependencies
install:
  - "python setup.py install"
  - if [[ $TRAVIS_PYTHON_VERSION == 2.6 ]]; then pip install unittest2; fi
# command to run tests
script: nosetests

Install unittest2 for Python 2.6 while testing.
Install unittest2 for Python 2.6 while testing.
