The formation and build-up of the red-sequence over the past 9 Gyr in VIPERS