Successive treatments of textile materials by liquids, gases or vapours the treatments being performed in a single container