rewrite travis scripts