diff options
author | 2017-12-05 10:34:56 +0000 | |
---|---|---|
committer | 2017-12-05 10:34:56 +0000 | |
commit | 33fe72d9e48315fc79cec9610ebfb81f5cb6047d (patch) | |
tree | 746dd2cbf76f727f8b68fb33e470af85b9e2f61d /tox.ini | |
parent | 4daf79855c2dccff22134939245497140343bfa3 (diff) | |
parent | f7882526b299e0e9185b1f61d3306b48d9ec28e6 (diff) |
Merge "Use pipenv instead of pip"
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/* |