Fix travis test skipping logic.