Travis script optimization2