From 078be5df8bc3b04ba9c2a24a3fa418a6cae46ea0 Mon Sep 17 00:00:00 2001 From: "coord.e" Date: Sat, 9 Feb 2019 22:48:28 +0000 Subject: [PATCH] Revert "Change: Test deployment" This reverts commit fcbe786a709f4caffb4c5f7bf794dd06339ca10b. --- .travis.yml | 5 ++--- ci/scripts/pypi_deploy.sh | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7ecc74d..ac89759 100644 --- a/.travis.yml +++ b/.travis.yml @@ -34,13 +34,12 @@ deploy: skip_cleanup: true on: condition: "$BUILD_TYPE = python" - all_branches: true + tags: true - provider: bintray file: "bintray.json" user: "coord-e" key: $BINTRAY_API_KEY skip_cleanup: true - dry_run: true on: condition: "$BUILD_TYPE = deb" - all_branches: true + tags: true diff --git a/ci/scripts/pypi_deploy.sh b/ci/scripts/pypi_deploy.sh index e9ca021..ffe6a22 100755 --- a/ci/scripts/pypi_deploy.sh +++ b/ci/scripts/pypi_deploy.sh @@ -21,7 +21,7 @@ sudo apt-get install -y python3-setuptools python3-pip sudo pip3 install twine function upload_pypi() { - twine upload --repository-url https://test.pypi.org/legacy/ -u ${PYPI_USERNAME} -p ${PYPI_PASSWORD} $@ + twine upload -u ${PYPI_USERNAME} -p ${PYPI_PASSWORD} $@ } ${BUILDER_SDIST:-false} && upload_pypi dist/*.tar.gz