2012-06-05 02:05:59 +02:00
|
|
|
# Tox (http://tox.testrun.org/) is a tool for running tests
|
2014-04-24 21:36:03 +02:00
|
|
|
# in multiple virtualenvs.
|
|
|
|
# Run:
|
|
|
|
# $ pip install -r requirements-dev.txt
|
|
|
|
# $ tox
|
|
|
|
|
2012-06-05 02:05:59 +02:00
|
|
|
|
|
|
|
[tox]
|
2014-04-24 17:08:40 +02:00
|
|
|
envlist = py26, py27, py34, pypy
|
2014-04-24 21:36:03 +02:00
|
|
|
usedevelop = True
|
|
|
|
skipsdist = True
|
|
|
|
|
2012-06-05 02:05:59 +02:00
|
|
|
|
|
|
|
[testenv]
|
2014-04-25 10:41:04 +02:00
|
|
|
|
2014-04-24 21:36:03 +02:00
|
|
|
whitelist_externals =
|
|
|
|
py.test
|
2012-06-05 02:05:59 +02:00
|
|
|
|
2014-04-24 21:36:03 +02:00
|
|
|
commands =
|
|
|
|
py.test --doctest-modules \
|
|
|
|
--basetemp={envtmpdir} \
|
|
|
|
-n 8 \
|
|
|
|
{posargs:./tests ./httpie}
|
2014-04-24 18:20:23 +02:00
|
|
|
|
2014-04-24 21:36:03 +02:00
|
|
|
[testenv:py26]
|
|
|
|
deps =
|
|
|
|
argparse
|