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 language: python
install: install:
- "pip install ." - "pip install ."
- "pip install -r requirements-tests.txt" - "pip install tox"
script: script:
- tox - tox
- coveralls
env: env:
- TOXENV=py27 - TOXENV=py27

15
tox.ini
View File

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