Refine travis script