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

Appearance settings

Commit 7d1e48c

Browse filesBrowse files
committed
arm64 azure cli does not work
1 parent b023344 commit 7d1e48c
Copy full SHA for 7d1e48c

File tree

1 file changed

+12
-10
lines changed
Filter options

1 file changed

+12
-10
lines changed

‎.travis.yml

Copy file name to clipboardExpand all lines: .travis.yml
+12-10Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.