If youre resourceful you can be there for all of july (best weather) and spend very little. you might have to live in some not so excellent conditions and do some hiking and risk getting caught and kicked off the mountain but its possible.
or you can go out for a week, live in a tent, buy tickets ($50 usually) and ski public park which is pretty sick and have a great time.