File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ before_install:
4949 before_deploy :
5050 # Add an empty setup.py stub, because pypi provider always calls it
5151 - touch setup.py
52- deploy :
52+ deploy : &deployment-config
5353 provider : pypi
5454 # `skip-cleanup: true` is required to preserve binary wheel and sdist,
5555 # built by during `install` step above.
@@ -59,9 +59,9 @@ before_install:
5959 # This happenes when other CI (AppVeyor etc.) has already uploaded
6060 # the very same dist (usually sdist).
6161 skip-existing : true
62- user : Mariatta # TODO: consider having a separate "uploader user"
63- # with reduced priviliges for security reasons
64- password :
62+ user : &pypi-user Mariatta # TODO: consider having a separate "uploader user"
63+ # with reduced priviliges for security reasons
64+ password : &pypi-password
6565 # Encrypt with `travis encrypt -r python/core-workflow --org` while using travis-ci.org;
6666 # change to `travis encrypt -r python/core-workflow --api-endpoint 'https://api.travis-ci.com/'`
6767 # upon switch to __free__ travis-ci.com:
@@ -101,3 +101,8 @@ jobs:
101101 TARGET_PKG : blurb
102102 install :
103103 - pushd blurb
104+ deploy :
105+ << : *deployment-config
106+ user : *pypi-user # TODO: consider having a separate "uploader user"
107+ # with reduced priviliges for security reasons
108+ password : *pypi-password # FIXME: might need to change user/password pair
You can’t perform that action at this time.
0 commit comments