add option for running e2e on travis or local