File tree Expand file tree Collapse file tree 1 file changed +12
-10
lines changed Expand file tree Collapse file tree 1 file changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -971,18 +971,20 @@ after_success: |
971971
972972 # Save to Azure storage always
973973
974- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
975- curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
976- else
977- brew install azure-cli
978- fi
974+ if [[ $TRAVIS_CPU_ARCH != "arm64" ]]; then
975+ if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
976+ curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
977+ else
978+ brew install azure-cli
979+ fi
979980
980- az storage container create -n ${TRAVIS_COMMIT} --public-access blob
981+ az storage container create -n ${TRAVIS_COMMIT} --public-access blob
981982
982- if [[ $SDIST == 1 ]]; then
983- az storage blob upload-batch -d ${TRAVIS_COMMIT} -s ${TRAVIS_BUILD_DIR}/dist --pattern *.gz
984- else
985- az storage blob upload-batch -d ${TRAVIS_COMMIT} -s ${TRAVIS_BUILD_DIR}/wheelhouse --pattern opencv*.whl
983+ if [[ $SDIST == 1 ]]; then
984+ az storage blob upload-batch -d ${TRAVIS_COMMIT} -s ${TRAVIS_BUILD_DIR}/dist --pattern *.gz
985+ else
986+ az storage blob upload-batch -d ${TRAVIS_COMMIT} -s ${TRAVIS_BUILD_DIR}/wheelhouse --pattern opencv*.whl
987+ fi
986988 fi
987989
988990 set +x
You can’t perform that action at this time.
0 commit comments