Front propagation in microchannels with obstacles