Fix order of travis operations.