Removing unneeded check of local or travis build