Skip to content

Commit

Permalink
Remove specific Python versioning from non-test builds, and exposed T…
Browse files Browse the repository at this point in the history
…WINE environment variables.
  • Loading branch information
freakboy3742 committed Apr 18, 2020
1 parent e406672 commit c601fdc
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -14,27 +14,23 @@ commands =
pytest -vv

[testenv:flake8]
basepython = python3.8
deps =
flake8
commands = flake8 {posargs}

[testenv:docs]
basepython = python3.8
deps =
-r{toxinidir}/docs/requirements_docs.txt
commands =
python setup.py build_sphinx -W

[testenv:towncrier]
basepython = python3.8
deps =
towncrier >= 18.5.0
commands =
towncrier {posargs}

[testenv:package]
basepython = python3.8
deps =
wheel
twine
Expand All @@ -43,9 +39,11 @@ commands =
python -m twine check dist/*

[testenv:publish]
basepython = python3.8
deps =
wheel
twine
passenv =
TWINE_USERNAME
TWINE_PASSWORD
commands =
python -m twine upload dist/*

0 comments on commit c601fdc

Please sign in to comment.