diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2019-08-21 22:39:34 -0400 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2019-08-21 22:39:34 -0400 |
commit | 20964edcfd5b35c6006bc6425a5587004ed76eec (patch) | |
tree | d2ed31f04d08fc95a5354f48085d5072cc8b365c | |
parent | 054ea7dbbaabf257e7c3c6276d889cc178a19340 (diff) | |
download | pytest-runner-20964edcfd5b35c6006bc6425a5587004ed76eec.tar.gz |
Define passenv in tox release section. Rely on __token__ for default username.
-rw-r--r-- | .travis.yml | 5 | ||||
-rw-r--r-- | tox.ini | 4 |
2 files changed, 4 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml index 17d0262..6ccac8f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,11 +13,6 @@ jobs: if: tag IS present python: *latest_py3 before_script: skip - env: - - TWINE_USERNAME=jaraco - # TWINE_PASSWORD - - secure: ... - - TOX_TESTENV_PASSENV="TWINE_USERNAME TWINE_PASSWORD" script: tox -e release cache: pip @@ -26,6 +26,10 @@ deps = pep517>=0.5 twine>=1.13 path.py +passenv = + TWINE_PASSWORD +setenv = + TWINE_USERNAME = {env:TWINE_USERNAME:__token__} commands = python -c "import path; path.Path('dist').rmtree_p()" python -m pep517.build . |