add mongo db configuration to travis ci