Travis hooks and tests.

This is the legacy mongodb implementation.