optimize travis builds