Add tox configuration file

This commit is contained in:
Ian Cordasco
2014-12-08 20:28:22 -06:00
parent 77e252812a
commit 3677612bc5

24
tox.ini Normal file
View File

@@ -0,0 +1,24 @@
[tox]
envlist = py26,py27,py32,py33,py34,pypy,{py27,py34}-flake8
[testenv]
pip_pre = False
deps =
-rdev-requirements.txt
commands = py.test {posargs}
[testenv:py27-flake8]
basepython = python2.7
deps =
flake8
commands = flake8 {posargs} github3/
[testenv:py34-flake8]
basepython = python3.4
deps =
flake8
commands = flake8 {posargs} github3/
[pytest]
addopts = -q
norecursedirs = *.egg .git .* _*