Add database config to Travis CI