Use twine instead of readme_renderer for readme check.

This commit is contained in:
Jannis Leidel 2019-01-27 22:07:58 +01:00
parent df358a53dd
commit 24c8d2005a
No known key found for this signature in database
GPG key ID: C795956FB489DCA9

22
tox.ini
View file

@ -3,10 +3,8 @@ skipsdist = True
usedevelop = True
minversion = 1.8
envlist =
flake8-py27,
flake8-py37,
readme-py27,
readme-py37,
flake8-py{27,37},
twine-check-py{27,37},
py{27,34,35,36}-dj111
py{34,35,36,37}-dj20
py{34,35,36,37}-dj21
@ -33,13 +31,17 @@ commands =
coverage run {envbindir}/django-admin.py test -v2 {posargs:dbtemplates}
coverage report
[testenv:readme-py27]
commands = python setup.py check -r -s
deps = readme_renderer
[testenv:twine-check-py27]
commands =
python setup.py sdist bdist_wheel
twine check dist/*
deps = twine
[testenv:readme-py37]
commands = python setup.py check -r -s
deps = readme_renderer
[testenv:twine-check-py37]
commands =
python setup.py sdist bdist_wheel
twine check dist/*
deps = twine
[testenv:flake8-py27]
commands = flake8 dbtemplates