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 ../"
deploy:
# Checkpointed release builds.
provider: script
script: .travis/deploy-python.sh
skip_cleanup: true
on:
tags: true
# all_branches must be set with tags: true. See below post:
# https://stackoverflow.com/a/27775257/1076585
all_branches: true
deploy:
- provider: script
script: .travis/deploy-python.sh
skip_cleanup: true
on:
tags: true
# all_branches must be set with tags: true. See below post:
# https://stackoverflow.com/a/27775257/1076585
all_branches: true
# Produce a new build for the cutting edge when master changes.
provider: script
script: .travis/deploy-python.sh
skip_cleanup: true
on:
branch: master
- provider: script
script: .travis/deploy-python.sh
skip_cleanup: true
on:
branch: master
- language: cpp
os:
- linux

View File

@@ -1,7 +1,7 @@
#!/bin/bash
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/"
twine upload \