Fixed prod PyPI URL and deploy block list.

This commit is contained in:
Mike Holler
2017-11-27 16:05:45 -06:00
parent 617bbc9b0c
commit da0bda6be3
2 changed files with 14 additions and 15 deletions

View File

@@ -14,21 +14,20 @@ matrix:
- "cd ../" - "cd ../"
deploy: deploy:
# Checkpointed release builds. # Checkpointed release builds.
provider: script - provider: script
script: .travis/deploy-python.sh script: .travis/deploy-python.sh
skip_cleanup: true skip_cleanup: true
on: on:
tags: true tags: true
# all_branches must be set with tags: true. See below post: # all_branches must be set with tags: true. See below post:
# https://stackoverflow.com/a/27775257/1076585 # https://stackoverflow.com/a/27775257/1076585
all_branches: true all_branches: true
deploy:
# Produce a new build for the cutting edge when master changes. # Produce a new build for the cutting edge when master changes.
provider: script - provider: script
script: .travis/deploy-python.sh script: .travis/deploy-python.sh
skip_cleanup: true skip_cleanup: true
on: on:
branch: master branch: master
- language: cpp - language: cpp
os: os:
- linux - linux

View File

@@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PROD_REPOSITORY="https://upload.pypi.org/legacy" PROD_REPOSITORY="https://upload.pypi.org/legacy/"
TEST_REPOSITORY="https://test.pypi.org/legacy/" TEST_REPOSITORY="https://test.pypi.org/legacy/"
twine upload \ twine upload \