2011-08-30 02:37:25 +02:00
|
|
|
[tox]
|
2020-10-04 05:25:14 +02:00
|
|
|
envlist = py36,py37,py38,pypy3
|
2012-12-02 01:15:18 +01:00
|
|
|
|
2011-08-30 02:37:25 +02:00
|
|
|
[testenv]
|
2015-09-18 18:24:33 +02:00
|
|
|
deps=-r{toxinidir}/requirements/dev.pip
|
2018-03-07 02:59:35 +01:00
|
|
|
whitelist_externals=
|
|
|
|
/bin/sh
|
|
|
|
commands=
|
|
|
|
/bin/sh -c "{env:PYPISERVER_SETUP_CMD:true}"
|
2019-09-18 03:44:15 +02:00
|
|
|
pytest --cov=pypiserver []
|
2011-08-30 02:37:25 +02:00
|
|
|
sitepackages=False
|
2012-12-02 01:37:01 +01:00
|
|
|
|
2013-01-04 02:09:11 +01:00
|
|
|
[pytest]
|
2017-11-14 17:47:27 +01:00
|
|
|
norecursedirs = bin parts develop-eggs eggs venv .* _* CVS {args}
|
2018-03-07 02:59:35 +01:00
|
|
|
|
|
|
|
[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
|