travis: use Tox for test automation

This commit is contained in:
Roman Zeyde 2015-07-02 12:31:14 +03:00
parent e8dd11161b
commit 1eccadfc13
3 changed files with 13 additions and 4 deletions

1
.gitignore vendored
View File

@ -15,3 +15,4 @@ locale/
*_trial_temp
packages
env/
.tox/

View File

@ -3,8 +3,6 @@ language: python
python:
- "2.7"
install:
- "pip install ."
- "pip install coverage"
- pip install tox
script:
- "coverage run --source=lib -m py.test -v"
- "coverage report"
- tox

10
tox.ini Normal file
View File

@ -0,0 +1,10 @@
[tox]
envlist = py27
[testenv]
deps=
pytest
coverage
commands=
coverage run --source=lib -m py.test -v
coverage report