diff options
| author | Seth M. Larson <sethmichaellarson@gmail.com> | 2018-11-22 21:54:43 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-11-22 21:54:43 -0600 |
| commit | 80d101dbee321bcb5b7c2c1795b6e89192ea5945 (patch) | |
| tree | c7663c47d0cc0810a5e7a931d3700d07f6d764db | |
| parent | e3aebd4e79779ad4eef902e81ebbb6ec54335dfc (diff) | |
| download | urllib3-conditional-uninstall-oclint.tar.gz | |
Uninstall oclint if it's installedconditional-uninstall-oclint
| -rwxr-xr-x | _travis/install.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/_travis/install.sh b/_travis/install.sh index 9b4478bc..bb3d93d3 100755 --- a/_travis/install.sh +++ b/_travis/install.sh @@ -9,6 +9,12 @@ if [[ "$(uname -s)" == 'Darwin' ]]; then brew outdated openssl || brew upgrade openssl brew install openssl@1.1 + # Uninstall oclint if it's installed. This is + # conditional because of build caching. + if brew ls --versions oclint >> /dev/null; then + brew cask uninstall oclint + fi + # install pyenv git clone --depth 1 https://github.com/yyuu/pyenv.git ~/.pyenv PYENV_ROOT="$HOME/.pyenv" |
