Change travis job to use tox

This commit is contained in:
Eli Uriegas 2016-12-25 18:55:25 -08:00
parent 5402e6d3a6
commit 56d6c2a929
2 changed files with 5 additions and 9 deletions

View File

@ -2,14 +2,8 @@ language: python
python:
- '3.5'
- '3.6'
install:
- pip install -r requirements.txt
- pip install -r requirements-dev.txt
- python setup.py install
- pip install flake8
- pip install pytest
before_script: flake8 sanic
script: py.test -v tests
install: pip install tox-travis
script: tox
deploy:
provider: pypi
user: channelcat

View File

@ -1,6 +1,6 @@
[tox]
envlist = py35, py36
envlist = py35, py36, flake8, report
[testenv]
@ -26,6 +26,8 @@ commands =
flake8 sanic
[testenv:report]
deps=
coverage
commands =
coverage combine