httpie-cli/tox.ini

28 lines
440 B
INI
Raw Normal View History

# 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
[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
[testenv]
2014-04-25 10:41:04 +02:00
2014-04-24 21:36:03 +02:00
whitelist_externals =
py.test
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