Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8dc7a8d

Browse files
committed
fix the travis USER issue
1 parent8d5aa2b commit8dc7a8d

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)

[8]ページ先頭

©2009-2025 Movatter.jp