Skip to content
Snippets Groups Projects
Commit 921633b8 authored by nimrod's avatar nimrod
Browse files

- Moved the setup.py metadata check back to the Tox test environment, left...

- Moved the setup.py metadata check back to the Tox test environment, left just the restructuredtext check in the Tox docs environment.
parent b21a665e
No related branches found
No related tags found
No related merge requests found
...@@ -20,6 +20,7 @@ deps = ...@@ -20,6 +20,7 @@ deps =
six six
commands = commands =
check-manifest --ignore tox.ini,tests* check-manifest --ignore tox.ini,tests*
python setup.py setup.py check --metadata --strict
flake8 . flake8 .
python -m doctest template/filters.py template/__init__.py python -m doctest template/filters.py template/__init__.py
./tests.sh ./tests.sh
...@@ -27,7 +28,7 @@ commands = ...@@ -27,7 +28,7 @@ commands =
[testenv:docs] [testenv:docs]
basepython = python basepython = python
deps = readme_renderer deps = readme_renderer
commands = python setup.py check -m -r -s commands = python setup.py check --restructuredtext --strict
[testenv:release] [testenv:release]
basepython = python basepython = python
...@@ -38,5 +39,6 @@ deps = ...@@ -38,5 +39,6 @@ deps =
wheel wheel
commands = commands =
sh -c 'git tag "v$(cat VERSION)" && git push --tags' sh -c 'git tag "v$(cat VERSION)" && git push --tags'
sh -c 'rm -rf dist/'
python setup.py bdist_wheel python setup.py bdist_wheel
twine upload --skip-existing dist/*.whl twine upload --skip-existing dist/*.whl
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment