From 3677612bc5f3dcb39317dd986747509d3803748a Mon Sep 17 00:00:00 2001 From: Ian Cordasco Date: Mon, 8 Dec 2014 20:28:22 -0600 Subject: [PATCH] Add tox configuration file --- tox.ini | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 tox.ini 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 .* _*