Civilian path could be faster... in theory. But for that to work you have to be the ideal package in all respects, and at least a little luck.
Military experience will provide more predictable and reliable progression to the best airline jobs.
But don't do military unless you really want to serve...