Carlos Martinez tossed five solid innings and knocked in two runs, as the St. Louis Cardinals beat the San Francisco Giants, 7-2, in the rubber match of a three-game series.
Martinez (2-3) allowed one run on five hits while striking out six and walking one.
Jhonny Peralta hit a two-run homer for the Cardinals, who went 5-5 on a 10- game road trip. Jon Jay, Shane Robinson and Oscar Taveras added an RBI apiece.
Madison Bumgarner (9-6) gave up five runs -- four earned -- on six hits with six strikeouts and three walks over five innings. Bumgarner had the only RBI for the Giants, who went 2-8 on a 10-game homestand.