One of my bikes has a triple and the other has a compact double. I've ridden both in the mountains without any trouble (other than the usual v e r y slow uphills that I do).
If you get the compact double and you feel that there just aren't enough gears for you, you could change the out the cassette for more options. The whole point about compact doubles is that you get the same or similar gear range as a triple.