A state of emergency has been declared in the city and neighbouring Selwyn District and the military has been deployed to help firefighters.