adjust test db conf and add travis yml