tuskar/.travis.yml
Petr Blaho 70b7cf9b47 Changes travis test command to tox with envs
This changes travis command for test to tox -e TOX_ENV
and sets up travis environments to TOX_ENV=py27
and TOX_ENV=pep8.

This way travis will run both tests on python 2.7
and will check if code is ok by pep8.

Another benefit is that we now have only one place to define
tests and pep8 options - tox.ini

It also commands travis to install tox first.
2013-08-08 09:42:16 +02:00

17 lines
260 B
YAML

language: python
python:
- 2.7
env:
- TOX_ENV=py27
- TOX_ENV=pep8
before_install:
- pip install tox --use-mirrors
script:
- tox -e $TOX_ENV
notifications:
irc:
channels:
- "irc.freenode.org#tuskar"
use_notice: true
skip_join: false