language: python
python:
  - "2.7"
  - "3.3"
matrix:
  fast_finish: true
install:
  - "mv setup.cfg{,.bak}"
  - "pip install -q -r requirements.txt"
  - "pip install -q -r test_crumbs/requirements.txt"
  - "pip install -q flake8 --use-mirrors"
  - "mv setup.cfg{.bak,}"
script:
  - python setup.py build
  - python setup.py install
  - flake8
  - nosetests

language: python
python:
  - 2.7
  - 3.3
env:
  USE_UNITTEST2=false
matrix:
  fast_finish: true
  include:
    - python: 2.6
      env: USE_UNITTEST2=true
install:
  - mv setup.cfg{,.bak}
  - pip install -q -r requirements.txt
  - pip install -q -r test_crumbs/requirements.txt
  - pip install -q flake8
  - ${USE_UNITTEST2} && pip install -q unittest2 || true
  - mv setup.cfg{.bak,}
script:
  - pip install .
  - flake8
  - nosetests

Add Travis-CI job for python2.6.
Add Travis-CI job for python2.6.
