1
0
mirror of https://github.com/pypiserver/pypiserver synced 2024-11-09 16:45:51 +01:00
pypiserver/tox.ini

25 lines
625 B
INI
Raw Normal View History

2011-08-30 02:37:25 +02:00
[tox]
envlist = py36,py37,py38,pypy3
2011-08-30 02:37:25 +02:00
[testenv]
deps=-r{toxinidir}/requirements/dev.pip
whitelist_externals=
/bin/sh
commands=
/bin/sh -c "{env:PYPISERVER_SETUP_CMD:true}"
pytest --cov=pypiserver []
2011-08-30 02:37:25 +02:00
sitepackages=False
2013-01-04 02:09:11 +01:00
[pytest]
norecursedirs = bin parts develop-eggs eggs venv .* _* CVS {args}
[testenv:pre_twine]
# Allow calling ``tox -e pre_twine`` to test pypiserver with the most
# recent prerelease of twine.
whitelist_externals=
tox
setenv=
PYPISERVER_SETUP_CMD=pip install --upgrade --pre --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple twine
commands=
tox