fixing localhost config for travis