diff --git a/.travis.yml b/.travis.yml index eae4ef0bb..03c7eb876 100644 --- a/.travis.yml +++ b/.travis.yml @@ -65,12 +65,6 @@ matrix: on: repo: NVIDIA/DIGITS branch: master - - provider: script # not pypi because travis-ci/dpl#334 - skip_cleanup: true - script: ./scripts/travis/pypi-upload.sh - on: - repo: NVIDIA/DIGITS - tags: true cache: apt: true diff --git a/scripts/travis/pypi-upload.sh b/scripts/travis/pypi-upload.sh deleted file mode 100755 index 80df5f169..000000000 --- a/scripts/travis/pypi-upload.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash -# Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved. -# NOTE: don't use "set -x" in this script -set -e - -LOCAL_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) -ROOT_DIR=$( dirname "$(dirname "$LOCAL_DIR")") - -cd "$ROOT_DIR" -set +x # double-check that x is unset -# remove repository to allow twine use default URL -cat > ~/.pypirc << EOF -[pypi] -username = luke.yeager -password = ${PYPI_PASSWORD} -EOF -twine upload -r pypi dist/*