Add tox configuration file
This commit is contained in:
24
tox.ini
Normal file
24
tox.ini
Normal 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 .* _*
|
||||
Reference in New Issue
Block a user