Upload sdist and wheel packages to pypi using travis-ci deploys

This commit is contained in:
Daniel Graña 2014-06-25 02:53:12 -03:00
parent 499438ec44
commit 4300334a23
2 changed files with 17 additions and 3 deletions

View File

@ -10,3 +10,6 @@ if [[ "${TOXENV}" == "pypy" ]]; then
# or it'll take precedence over the PPA installed one.
sudo rm -rf /usr/local/pypy/bin
fi
# Workaround travis-ci/travis-ci#2065
pip install -U wheel

View File

@ -13,12 +13,23 @@ matrix:
- env: TOXENV=py33
- env: TOXENV=docs
install:
- ./.travis-workarounds.sh
- pip install tox
- "./.travis-workarounds.sh"
- pip install -U tox
script: tox
notifications:
irc:
use_notice: true
skip_join: true
channels:
- "irc.freenode.org#scrapy"
- irc.freenode.org#scrapy
deploy:
provider: pypi
distributions: "sdist bdist_wheel"
user: scrapy
password:
secure: JaAKcy1AXWXDK3LXdjOtKyaVPCSFoCGCnW15g4f65E/8Fsi9ZzDfmBa4Equs3IQb/vs/if2SVrzJSr7arN7r9Z38Iv1mUXHkFAyA3Ym8mThfABBzzcUWEQhIHrCX0Tdlx9wQkkhs+PZhorlmRS4gg5s6DzPaeA2g8SCgmlRmFfA=
on:
tags: true
all_branches: true
repo: scrapy/scrapy
condition: $TOXENV = py27