travis: set hostname to localhost to prevent problems with name resolution