Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.

Commit

Permalink
Use pip3 to install azure-cli
Browse files Browse the repository at this point in the history
pip is no longer available on the osx images, see travis-ci/travis-ci#8829
  • Loading branch information
qmfrederik committed Feb 22, 2019
1 parent 6375b76 commit d474092
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,10 @@ before_install:
- if [ "$CROSS" = "yes" ]; then sudo apt-get install -y --force-yes gcc/trusty libssl1.0.0:$ARCH/trusty libssl-dev:$ARCH/trusty libc6:$ARCH/trusty libc6-dev:$ARCH/trusty libgcc1:$ARCH/trusty zlib1g-dev:$ARCH/trusty gcc-4.9-base:$ARCH/trusty linux-libc-dev:$ARCH/trusty; fi

install:
- pip install --user azure-cli
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then pip2 install --user azure-cli; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew update; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew install openssl; fi
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then pip install --user azure-cli; fi
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then ./build/install-patchelf.sh; fi

before_script:
Expand Down

0 comments on commit d474092

Please sign in to comment.