forked from BigfootDev/flatbuffers
Fixed prod PyPI URL and deploy block list.
This commit is contained in:
27
.travis.yml
27
.travis.yml
@@ -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
|
||||
|
||||
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user