Skip to content

Commit

Permalink
use travis to publish to pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
sbidoul committed Sep 17, 2017
1 parent 294210f commit 2926aca
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 7 deletions.
12 changes: 12 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,15 @@ install:

script:
- tox

deploy:
provider: pypi
user: acsbidoul
password:
secure: "eVofHUAKl2ZccFVMRDjH5plyfYpMwtHcSQwkJPb63W5KZfLVGgo/Wjmsd1111oPe2TaKZG7EnK0U19A8OPsEoWZr7rxUDo5rM90S+XJBKZ3iuHlJxJ3yF5bRtYJ3GLcDVMTNvTpetNzs+AIb/YQ/nhzs+dU+l28GRIR3JJf3vfJ76IJ+lJlZ3DxW+2u3TUO70nXyT4gvZByoo6S9XyQNgRJSov9Furzvv3z9WDXYOIQM9p0uNBpD2rHkBIZYZ2xdkkUqOCRCjuB1VElFieccBzIorKpe+ibjBrOlMvSXFi3wNNd8ZVlEcfaDu6bJLz1GF2fyDid+B0BeNDm1cRibTzklHTgGFWDmsgzA+jeCbVwctETJ/erb1kp/Ao2o0NKr0QW6q+aAWCxqr6Zu8/EdWQyCT1mGw7UQ12hAFQQ8B6hgTytiFyX9P/voymtG7s360ZjJJ6NYYlt09c1vGAljgxvaW4iSEvTEh/BgBzEyHwVhAitgdVoRWI/BO2KbzNDJKQHYUhSOEbw9QfNokfFDYV5H9Rec9HMOT3mLr38jY4SHSADtx5M5+yE4pXRqNjn7eLQqCvzy2AVv9caNgwvmtrv+bNXSUvsPnWe/VS9I2j/H1POHiBUSCH12B0d0iwtNUsBj9FSP3O5fkvZ4dFwW//T+QOpRiTEanu5Ar5MjWWw="
distributions: "sdist bdist_wheel"
skip_upload_docs: true
on:
repo: acsone/odoo-autodiscover
branch: master
tags: true
12 changes: 5 additions & 7 deletions DEVELOP.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,11 @@ To run faster tests in a preinstalled virtualenv
How to release
--------------

* update changelog in CHANGES.rst
* update changelog in CHANGES.rst, referring to the next version
* python setup.py check --restructuredtext
* commit everything
* git tag <version>
* make sure tests pass!
* git tag <version>, where <version> is PEP 440 compliant
* git push --tags
* python setup.py sdist bdist_wheel
* twine upload
* increment version (last digit + .dev)
* add unreleased line on top of CHANGES.rst
* git commit and push

Uploading of tagged versions to pypi will be taken care of by travis.

0 comments on commit 2926aca

Please sign in to comment.