It is permissible to fast or not to fast during Ramadan for one who is travelling for no sinful purpose, if his journey is two stages or further. But it is better for the one who is able to fast without suffering any harm to do so, and the one for whom it is difficult may break the fast Sahih Muslim 1117
Translation
Abu Nadra reported Abu Sa'id al. Khudri and Jabir b. Abdullah as saying
We travelled with the Messenger of Allah (ﷺ). The observer of the fast observed it, and the breaker of the fast broke it, but none of them found fault with each other.