language: python
env:
  - TOX_ENV=py27
  - TOX_ENV=pep8
  - TOX_ENV=cover
before_install:
  - pip install tox --use-mirrors
  - if [ "x$TOX_ENV" = 'xcover' ]; then pip install coveralls --use-mirrors; fi
script:
  - tox -e $TOX_ENV
after_success:
  - if [ "x$TOX_ENV" = 'xcover' ]; then coveralls; fi
