From 0d129d5f692d76ad34e7b1d0f9241eea57ba02d1 Mon Sep 17 00:00:00 2001 From: Marc Abramowitz Date: Mon, 4 Jun 2012 17:05:59 -0700 Subject: [PATCH] Add tox.ini for tox (http://tox.testrun.org/) --- .gitignore | 1 + tox.ini | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 tox.ini diff --git a/.gitignore b/.gitignore index 2392a06f..cebbf384 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ dist httpie.egg-info build *.pyc +.tox diff --git a/tox.ini b/tox.ini new file mode 100644 index 00000000..fc337ed8 --- /dev/null +++ b/tox.ini @@ -0,0 +1,19 @@ +# Tox (http://tox.testrun.org/) is a tool for running tests +# in multiple virtualenvs. This configuration file will run the +# test suite on all supported python versions. To use it, "pip install tox" +# and then run "tox" from this directory. + +[tox] +envlist = py26, py27, py30, py31, py32, pypy + +[testenv] +commands = {envpython} setup.py test + +[testenv:py26] +deps = argparse + +[testenv:py30] +deps = argparse + +[testenv:py31] +deps = argparse