add database configuration for travis ci