adding pre/post script into travis cfg