updating tox and travis configs

This commit is contained in:
Roman Mogilatov 2015-03-18 00:38:54 +02:00
parent b7467482f9
commit c1d6127e64
2 changed files with 13 additions and 5 deletions

View File

@ -1,9 +1,8 @@
language: python
install:
- "pip install ."
- "pip install -r requirements-tests.txt"
- "pip install tox"
script:
- tox
- coveralls
env:
- TOXENV=py27

15
tox.ini
View File

@ -1,6 +1,15 @@
[tox]
envlist = py27
[py27]
basepython = python2.7
commands = coverage run --rcfile=./.coveragerc unit2 discover
[testenv]
deps=
unittest2
coverage
coveralls
[testenv:py27]
commands=
coverage erase
coverage run --rcfile=./.coveragerc -m unittest2 discover tests []
coveralls
coverage erase