Make bindwait not end when if tails, add travis file