httpie-cli/tox.ini

27 lines
568 B
INI
Raw Normal View History

# Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. See ./CONTRIBUTING.rst
2014-04-24 21:36:03 +02:00
[tox]
# pypy3 currently fails because of a Flask issue
envlist = py27, py37, pypy
2014-04-24 21:36:03 +02:00
[testenv]
2014-04-26 16:50:31 +02:00
deps =
mock
2014-04-26 16:50:31 +02:00
pytest
pytest-httpbin>=0.0.6
2014-04-24 21:36:03 +02:00
commands =
# NOTE: the order of the directories in posargs seems to matter.
# When changed, then many ImportMismatchError exceptions occurrs.
py.test \
--verbose \
--doctest-modules \
{posargs:./httpie ./tests}
[testenv:py27-osx-builtin]
basepython = /usr/bin/python2.7