Skip to content

Commit 526c9e0

Browse files
Merge pull request #60 from Rbeuque74/travis-auto-deploy
misc(travis): auto-deploy procedure to release on PyPi from travis
2 parents dc7b5f3 + 529eb36 commit 526c9e0

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)