Adding rerun support to Travis