提交 7d1e48ca 编写于 作者: O Olli-Pekka Heinisuo

arm64 azure cli does not work

上级 b023344c
...@@ -971,18 +971,20 @@ after_success: | ...@@ -971,18 +971,20 @@ after_success: |
# Save to Azure storage always # Save to Azure storage always
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then if [[ $TRAVIS_CPU_ARCH != "arm64" ]]; then
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
else curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
brew install azure-cli else
fi brew install azure-cli
fi
az storage container create -n ${TRAVIS_COMMIT} --public-access blob az storage container create -n ${TRAVIS_COMMIT} --public-access blob
if [[ $SDIST == 1 ]]; then if [[ $SDIST == 1 ]]; then
az storage blob upload-batch -d ${TRAVIS_COMMIT} -s ${TRAVIS_BUILD_DIR}/dist --pattern *.gz az storage blob upload-batch -d ${TRAVIS_COMMIT} -s ${TRAVIS_BUILD_DIR}/dist --pattern *.gz
else else
az storage blob upload-batch -d ${TRAVIS_COMMIT} -s ${TRAVIS_BUILD_DIR}/wheelhouse --pattern opencv*.whl az storage blob upload-batch -d ${TRAVIS_COMMIT} -s ${TRAVIS_BUILD_DIR}/wheelhouse --pattern opencv*.whl
fi
fi fi
set +x set +x
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册