diff --git a/tox.ini b/tox.ini new file mode 100644 index 0000000..58d4f8a --- /dev/null +++ b/tox.ini @@ -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 .* _*