my mums 3 cats (Elvis, Stan and Sid) loved her 1st dog, stan even taught it how to be a cat and catch mice but when she got her second the cats all hated it so much they all left home, one feeds himself and only comes back once a week or if he's ill and never comes in the house, one was so miserable he had to move in with me and the other moved in with a neighbour a few doors down my mum never sees him now but is told that he's doing well!
I think maybe if enough time is spent introducing them slowly they could get on but like others have said anytime they start to get used to each other it'll be time to go home again and you may have to start all over again, the dogs are hyper anytime they meet someone new even when they've met before, it takes them days to settle around the stranger.
Don't let that put you off though, even if the cat isn't happy about having a dog around, it won't be all the time, cats usually just go and sulk for a couple of hours and then they're fine!