Add database configuration to travis ci