Moving travis hook into script