File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments