Commit 3a93adaa authored by Dmitry Teselkin's avatar Dmitry Teselkin Committed by Guido Günther

Use tox for testing

tox is a tool to automate creating venv and running
tests like py27 unittests and pep8 style checks.

This commit adds tox configs needed and some other
files for this feature.
parent c78a67ed
envlist = pep8, py27
skipsdist = True
whitelist_externals =
install_command = pip install {opts} {packages}
deps = -r{toxinidir}/requirements.txt
sitepackages = True
commands =
find . -type f -name "*.pyc" -delete
deps = hacking
commands =
find . -type f -name "*.pyc" -delete
flake8 {posargs}
commands =
find . -type f -name "*.pyc" -delete
python nosetests --verbosity=3 --with-xcoverage {posargs}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment