Skip to content

Commit

Permalink
Merge pull request #408 from jgrewe/homebrew
Browse files Browse the repository at this point in the history
[travis/macOS] disable brew update
  • Loading branch information
mpsonntag committed Feb 3, 2021
2 parents 342b273 + 2b98d80 commit 2a90ec0
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@ matrix:
env:
- OSXENV=3.8.0

addons:
homebrew:
packages:
- pyenv
- pyenv-virtualenv
update: false

install:
- export PYVER=${TRAVIS_PYTHON_VERSION:0:1}
- if [ $PYVER = 3 ]; then
Expand All @@ -53,10 +60,6 @@ install:
fi;

- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
brew update;
brew install pyenv;
brew upgrade pyenv;
brew install pyenv-virtualenv;
eval "$(pyenv init -)";
eval "$(pyenv virtualenv-init -)";
pyenv install $OSXENV;
Expand Down

0 comments on commit 2a90ec0

Please sign in to comment.