Skip to content

Commit 529eb36

Browse files
committed
misc(travis): auto-deploy procedure to release on PyPi from travis
Signed-off-by: Romain Beuque <[email protected]>
1 parent 5100f74 commit 529eb36

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,14 @@ install:
1717
script:
1818
- nosetests
1919
- python setup.py sdist bdist_wheel && pip install dist/ovh-*.tar.gz && cd /tmp && python -c 'import ovh; ovh.Client("ovh-eu").get("/auth/time", _need_auth=False)'
20+
deploy:
21+
provider: pypi
22+
user: $pypi.user
23+
password: $pypi.password
24+
distributions: "sdist bdist_wheel"
25+
on:
26+
branch: master
27+
tags: true
2028
after_success:
2129
coveralls
2230
sudo: false

0 commit comments

Comments
 (0)