summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2020-09-04 10:22:54 -0400
committerJason R. Coombs <jaraco@jaraco.com>2020-09-04 10:22:54 -0400
commitfc4d9828768ceebd2f9337481450c88376c013e9 (patch)
tree6dff622c50739ca19fdfbecf1008a42589d37b57 /tox.ini
parent7bb73a477de24069002516eb6eb1d755bed9d65b (diff)
parent03d36b9edb53e266a0b4b836e1e3178f989a0781 (diff)
downloadpython-setuptools-git-feature/implicit-bootstrap.tar.gz
Merge branch 'master' into feature/implicit-bootstrapfeature/implicit-bootstrap
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini23
1 files changed, 13 insertions, 10 deletions
diff --git a/tox.ini b/tox.ini
index 959d7dad..535b67d3 100644
--- a/tox.ini
+++ b/tox.ini
@@ -7,8 +7,6 @@ envlist=python
minversion = 3.2
requires =
tox-pip-version >= 0.0.6
- # workaround for #1998
- virtualenv < 20
[helpers]
# Custom pip behavior
@@ -22,8 +20,8 @@ setenv =
COVERAGE_FILE={toxworkdir}/.coverage.{envname}
# TODO: The passed environment variables came from copying other tox.ini files
# These should probably be individually annotated to explain what needs them.
-passenv=APPDATA HOMEDRIVE HOMEPATH windir APPVEYOR APPVEYOR_* CI CODECOV_* TRAVIS TRAVIS_* NETWORK_REQUIRED
-commands=pytest --cov-config={toxinidir}/tox.ini --cov-report= {posargs}
+passenv=APPDATA HOMEDRIVE HOMEPATH windir Program* CommonProgram* VS* APPVEYOR APPVEYOR_* CI CODECOV_* TRAVIS TRAVIS_* NETWORK_REQUIRED
+commands = pytest {posargs}
usedevelop=True
extras =
tests
@@ -53,12 +51,14 @@ changedir = docs
commands =
python -m sphinx . {toxinidir}/build/html
-[coverage:run]
-source=
- pkg_resources
- setuptools
-omit=
- */_vendor/*
+[testenv:finalize]
+skip_install = True
+deps =
+ towncrier
+ bump2version
+passenv = *
+commands =
+ python tools/finalize.py
[testenv:release]
skip_install = True
@@ -66,9 +66,11 @@ deps =
wheel
twine[keyring]>=1.13
path
+ jaraco.develop>=7.1
jaraco.tidelift
passenv =
TWINE_PASSWORD
+ GITHUB_TOKEN
TIDELIFT_TOKEN
setenv =
TWINE_USERNAME = {env:TWINE_USERNAME:__token__}
@@ -77,4 +79,5 @@ commands =
python -c "import path; path.Path('dist').rmtree_p()"
python setup.py release
python -m twine upload dist/*
+ python -m jaraco.develop.create-github-release
python -m jaraco.tidelift.publish-release-notes