setup database following travis doc