It was a rough winter for retailers and Wal-Mart was no exception. But the company also issued weak guidance for the warmer second quarter as it boosts investments to remain competitive against Amazon and Costco.