mirror of
https://github.com/httpie/cli.git
synced 2024-11-30 08:46:48 +02:00
ec899d70b7
* Travis CI doesn't support it anymore. * It had EOL more than 4 years ago
31 lines
648 B
INI
31 lines
648 B
INI
# Tox (http://tox.testrun.org/) is a tool for running tests
|
|
# in multiple virtualenvs. See ./CONTRIBUTING.rst
|
|
|
|
|
|
[tox]
|
|
envlist = py27, py35, py36, pypy, codestyle
|
|
|
|
|
|
[testenv]
|
|
deps =
|
|
mock
|
|
pytest
|
|
pytest-httpbin>=0.0.6
|
|
|
|
|
|
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:codestyle]
|
|
deps = pycodestyle
|
|
commands =
|
|
pycodestyle \
|
|
--ignore=E241,E501
|
|
# 241 - multiple spaces after ‘,’
|
|
# 501 - line too long
|