Travis script optimization3