diff options
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 36 |
1 files changed, 14 insertions, 22 deletions
@@ -9,20 +9,19 @@ skipsdist = True [testenv] usedevelop = True -install_command = pip install -U {opts} {packages} deps = - -rrequirements.txt - -rrequirements-test.txt -commands= - py.test \ - --basetemp={envtmpdir} \ - --cov \ - --cov-report term-missing \ - --cov-report xml \ - {posargs} -setenv= - HOME = {envtmpdir} - PYTHONPATH = {toxinidir} + pipenv +commands = + pipenv install --dev + py.test \ + --basetemp={envtmpdir} \ + --cov \ + --cov-report term-missing \ + --cov-report xml \ + {posargs} +setenv = + HOME = {envtmpdir} + PYTHONPATH = {toxinidir} [testenv:pep8] deps = flake8 @@ -37,19 +36,12 @@ ignore = E123,E125,H803,E501 builtins = _ exclude = build,dist,doc,legacy,.eggs,.git,.tox,.venv -[testenv:reqs] -deps=-rrequirements-test.txt -commands= - pip-missing-reqs qtip - pip-extra-reqs qtip - pipreqs qtip --savepath requirements-frozen.txt - [pytest] testpaths = tests python_functions = *_test test_* [testenv:pip] -deps= twine -commands= +deps = twine +commands = python setup.py sdist bdist_wheel twine upload dist/* |