From: Akos Kiss Date: Tue, 2 Oct 2018 14:03:00 +0000 (+0200) Subject: Deploy to PyPI from the source repo only X-Git-Url: https://git.devinivas.org/?a=commitdiff_plain;h=1a8dc6a1b8fd0b02206956d93a7ebc5c8c226b6e;p=chevron.git Deploy to PyPI from the source repo only Otherwise, Travis CI will try to deploy to (test)pypi for forks as well, and it will fail. --- diff --git a/.travis.yml b/.travis.yml index 36445d7..301c4ec 100644 --- a/.travis.yml +++ b/.travis.yml @@ -36,6 +36,7 @@ deploy: skip_upload_docs: true on: tags: true + repo: noahmorrison/chevron branch: master condition: $TRAVIS_PYTHON_VERSION = "3.5" - provider: pypi @@ -46,5 +47,6 @@ deploy: distributions: sdist bdist_wheel skip_upload_docs: true on: + repo: noahmorrison/chevron all_branches: true condition: $TRAVIS_PYTHON_VERSION = "3.5"