rearrange Travis script