Skip to content

Commit 4049947

Browse files
committed
fix sdist upload
1 parent e0ff6f9 commit 4049947

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.travis.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -760,12 +760,12 @@ after_success: |
760760
fi
761761
762762
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
763-
pip install --user twine
764-
pip install --user --upgrade six
765-
766763
if [[ $SDIST == 1 ]]; then
764+
pip install twine
767765
twine upload -u ${USER} -p ${PASS} --skip-existing ${TRAVIS_BUILD_DIR}/dist/opencv*
768766
else
767+
pip install --user twine
768+
pip install --user --upgrade six
769769
twine upload -u ${USER} -p ${PASS} --skip-existing ${TRAVIS_BUILD_DIR}/wheelhouse/opencv*
770770
fi
771771

0 commit comments

Comments
 (0)