language: ruby
cache: bundler
bundler_args: "--without production development"
rvm:
- 2.2.2
script:
- bundle exec rake test

language: ruby
cache: bundler
bundler_args: '--without production development'
rvm:
  - 2.2.2
script:
  - bundle exec rake test
services:
  - mongodb
env:
  - MONGODB_SOCKET=localhost:27017
before_script:
  - sleep 15
  - mongo mydb_test --eval 'db.addUser("travis", "test");'

Introduce mongodb on TravisCI test suite.
Introduce mongodb on TravisCI test suite.
