Add mongodb dependency for travis.