Retail giant Wal-Mart has posted a 5.9% increase in revenues, as strong international sales offset slower growth in the US.