language: objective-c
before_install:
    - brew update
    - brew install mongodb
    - ln -sfv /usr/local/opt/mongodb/*.plist ~/Library/LaunchAgents
    - launchctl load ~/Library/LaunchAgents/homebrew.mxcl.mongodb.plist
script: rake test

language: objective-c
before_install:
    - brew update
    - brew install mongodb
    - ln -sfv /usr/local/opt/mongodb/*.plist ~/Library/LaunchAgents
    - launchctl load ~/Library/LaunchAgents/homebrew.mxcl.mongodb.plist
before_script:
    - mongo mydb_test --eval 'db.addUser("travis", "test");'
script: rake test

Revert "Avoid error under Travis"
Revert "Avoid error under Travis"

This reverts commit b83e6443be4cde3a2ca25466444f10e12bed6fb2.
