]> Devi Nivas Git - chevron.git/commitdiff
Deploy to PyPI from the source repo only
authorAkos Kiss <akiss@inf.u-szeged.hu>
Tue, 2 Oct 2018 14:03:00 +0000 (16:03 +0200)
committerAkos Kiss <akiss@inf.u-szeged.hu>
Tue, 2 Oct 2018 14:03:00 +0000 (16:03 +0200)
Otherwise, Travis CI will try to deploy to (test)pypi for forks as
well, and it will fail.

.travis.yml

index 36445d77706a3481c89c774f74e9d91a7d4d0146..301c4ecb0b3df5b46a51b3d0a6906a5b69298a29 100644 (file)
@@ -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"