summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml19
1 files changed, 7 insertions, 12 deletions
diff --git a/.travis.yml b/.travis.yml
index b54e8e5..1636305 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -13,18 +13,13 @@ jobs:
- stage: deploy
if: tag IS present
python: *latest_py3
- install: skip
- script: skip
- deploy:
- provider: pypi
- on:
- tags: true
- all_branches: true
- user: jaraco
- password:
- secure: ... # encrypt password with `travis encrypt`
- distributions: dists
- skip_cleanup: true
+ before_script: skip
+ env:
+ - TWINE_USERNAME=jaraco
+ # TWINE_PASSWORD
+ - secure: ... # encrypt `TWINE_PASSWORD="{password}"` with `travis encrypt`
+ - TOX_TESTENV_PASSENV="TWINE_USERNAME TWINE_PASSWORD"
+ script: tox -e release
cache: pip