Running pretest on travis builds