Reorded travis logic