From 4300334a234f4521ed2cc4c00588ecdde61aa36d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Gra=C3=B1a?= Date: Wed, 25 Jun 2014 02:53:12 -0300 Subject: [PATCH] Upload sdist and wheel packages to pypi using travis-ci deploys --- .travis-workarounds.sh | 3 +++ .travis.yml | 17 ++++++++++++++--- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/.travis-workarounds.sh b/.travis-workarounds.sh index 3f7727376..5c34e54f7 100755 --- a/.travis-workarounds.sh +++ b/.travis-workarounds.sh @@ -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 diff --git a/.travis.yml b/.travis.yml index f61c936a0..9c3bbf533 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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