travis and database config fix