language: python
python:
  - 2.6
  - 2.7
  - 3.2
  - 3.3
  - pypy

install:
  - pip install --use-mirrors -q unittest2
  - python setup.py -q install
script:
  - python --version
  - py.test tests

language: python
python:
  - 2.6
  - 2.7
  - 3.2
  - 3.3
  - pypy

install:
  - if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install --use-mirrors unittest2; fi
  - python setup.py -q install
script:
  - py.test tests

Install unittest2 only for py26.
TRAVIS: Install unittest2 only for py26.
