Adjust Travis deploy to PyPI settings

-only on master branch
-only Python 3.6 build uploads, so the others don’t compete
-don’t upload docs to PyPI
This commit is contained in:
James R. Barlow
2017-02-06 21:27:59 -08:00
parent 589f19559d
commit 0e4d312ee2
+6
View File
@@ -39,6 +39,9 @@ script:
- pytest
- mv dont_import_this_ocrmypdf ocrmypdf
# See https://www.appneta.com/blog/pypi-deployment-with-travis-ci/ for
# steps to set up testpypi deploy for untagged builds if desired
deploy:
provider: pypi
user: ocrmypdf-travis
@@ -46,4 +49,7 @@ deploy:
secure: DTFOmmNL6olA0+yXvp4u9jXZlZeqrJsJ0526jzqf4a3gZ6jnGTq5UI6WzRsslSyoMMfXKtHQebqHM6ogSgCZinyZ3ufHJo8fn9brxbEc2gsiWkbj5o3bGwdWMT1vNNE7XW0VCpw87rZ1EEwjl4FJHFudMlPR1yfU5+uq0k0PACo=
distributions: "sdist bdist_wheel"
on:
branch: master
tags: true
condition: $TRAVIS_PYTHON_VERSION = "3.6"
skip_upload_docs: true