Add run test before deploy by travis