diff options
author | David Arthur <mumrah@gmail.com> | 2014-08-22 13:44:16 -0400 |
---|---|---|
committer | David Arthur <mumrah@gmail.com> | 2014-08-22 13:46:38 -0400 |
commit | f8618336979fd2704d14695750b6a240b3922d40 (patch) | |
tree | 3db4e4d62191e73acf5c0aa70677779545d5e175 /.travis.yml | |
parent | 69b55c9806a46b99788f653ddb83e595c2ad227c (diff) | |
download | kafka-python-f8618336979fd2704d14695750b6a240b3922d40.tar.gz |
Add TravisCI config for auto deployment
Tags applied to master will now be automatically deployed on PyPI
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml index 23c0dcc..8eaaad6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,10 +22,17 @@ install: # See https://github.com/travis-ci/travis-cookbooks/issues/155 - sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm +deploy: + provider: pypi + server: https://pypi.python.org/pypi + user: mumrah + password: + secure: TIZNKxktOm42/LHLDCuKuPqmAfYKekyHL4MqEFpnqDI5T5sHzG9IQaOwppYfQNggHiILUBzk1j6w/FPJunJyd62AFtydkKtIccqENIIAio78afeCRMQDynstNXjDefmt0s90xLGSlLzDMxCEWB4F6frEtPl/8KpNSFB2fvj+HXY= + on: + tags: true + all_branches: true + # TODO replace all_branches with "branch: master" after https://github.com/travis-ci/travis-ci/issues/1675 is fixed + # branch: master + script: - tox -e `./travis_selector.sh $TRAVIS_PYTHON_VERSION` - -branches: - only: - - master - - /^release-.*$/ |