python-tuskarclient/.travis.yml
Petr Blaho 1c4072fe72 Changes tox.ini in favor of tox and envs
Travis will now use tox to run tests.
This will setup travis envs to run tox on python 2.7, run pep8 tests and
run tests with coverage report.
Coveralls installed and called only in cover env.
Removes python version spec from .travis.yml - tox uses its own.
2013-08-12 13:20:45 +02:00

13 lines
301 B
YAML

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