Skip to content

Commit

Permalink
Use mongodb-community for OSX
Browse files Browse the repository at this point in the history
Why:

Because of it's new (controversial) license mongodb is not supported by
brew anymore. We need to use mongodb's `tap` to install it with brew instead.

For reference: github.com/Homebrew/homebrew-core/pull/43770
  • Loading branch information
bouthilx committed Sep 11, 2019
1 parent fc16793 commit 79d6622
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,12 @@ before_install: |
pyenv install $PYTHON
export PYENV_VERSION=$PYTHON
export PATH="/Users/travis/.pyenv/shims:${PATH}"
pyenv-virtualenv venv
source venv/bin/activate
pyenv virtualenv venv
pyenv activate venv
python --version
brew install mongodb
brew services start mongodb
brew tap mongodb/brew
brew install mongodb-community
brew services start mongodb-community
fi
install:
Expand Down

0 comments on commit 79d6622

Please sign in to comment.