Skip to content

Commit 8dc7a8d

Browse files
committed
fix the travis USER issue
1 parent 8d5aa2b commit 8dc7a8d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -762,11 +762,11 @@ after_success: |
762762
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
763763
if [[ $SDIST == 1 ]]; then
764764
pip install twine
765-
twine upload -u ${USER} -p ${PASS} --skip-existing ${TRAVIS_BUILD_DIR}/dist/opencv*
765+
twine upload -u ${PYPI_USER} -p ${PASS} --skip-existing ${TRAVIS_BUILD_DIR}/dist/opencv*
766766
else
767767
pip install --user twine
768768
pip install --user --upgrade six
769-
twine upload -u ${USER} -p ${PASS} --skip-existing ${TRAVIS_BUILD_DIR}/wheelhouse/opencv*
769+
twine upload -u ${PYPI_USER} -p ${PASS} --skip-existing ${TRAVIS_BUILD_DIR}/wheelhouse/opencv*
770770
fi
771771
772772
fi
@@ -779,9 +779,9 @@ after_success: |
779779
/usr/bin/python -m pip install --user -U -I twine
780780
781781
if [[ $SDIST == 1 ]]; then
782-
/usr/bin/python -m twine upload -u ${USER} -p ${PASS} --skip-existing ${TRAVIS_BUILD_DIR}/dist/opencv*
782+
/usr/bin/python -m twine upload -u ${PYPI_USER} -p ${PASS} --skip-existing ${TRAVIS_BUILD_DIR}/dist/opencv*
783783
else
784-
/usr/bin/python -m twine upload -u ${USER} -p ${PASS} --skip-existing ${TRAVIS_BUILD_DIR}/wheelhouse/opencv*
784+
/usr/bin/python -m twine upload -u ${PYPI_USER} -p ${PASS} --skip-existing ${TRAVIS_BUILD_DIR}/wheelhouse/opencv*
785785
fi
786786
787787
fi

travis_config.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ function pre_build {
9292
echo "Running for OSX"
9393

9494
local CACHE_STAGE; (echo "$TRAVIS_BUILD_STAGE_NAME" | grep -qiF "final") || CACHE_STAGE=1
95-
export USER=travis
95+
9696
#after the cache stage, all bottles and Homebrew metadata should be already cached locally
9797
if [ -n "$CACHE_STAGE" ]; then
9898
brew update

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy