add database config to travis