PHOENIX -- Patrick Corbin pitched seven strong innings to win his fourth straight start, J.D. Martinez homered twice and the Arizona Diamondbacks used a nine-run eighth inning to thump the San Francisco Giants 11-0 on Sunday.
The Diamondbacks swept the three-game series and have won six of seven, maintaining a 1 1/2-game lead over Colorado for the top NL wild card.
Paul Goldschmidt scored three with his 31st homer of the season in the eighth, and Martinez and Daniel Descalso went deep in the next two plate appearances. It was the sixth time Arizona has gone back-to-back-to-back in club history and the second time this season. Reliever Matt Cain allowed the homers to Goldschmidt and Martinez and was charged with eight runs. Cory Gearrin allowed Descalso's shot.
Corbin (12-11) left to a standing ovation after allowing a single to Jarrett Parker to lead off the eighth. Corbin allowed five hits and struck out eight with a walk. He's allowed only one run in 30 1/3 innings across his last four starts.
Giants starter Chris Stratton (2-3) walked five and threw a critical wild pitch, but gave up two runs and four hits and struck out 10 in six innings.
The Diamondbacks got a run off Stratton in the third inning when Chris Herrmann scored on a wild-pitch third strike to Rey Fuentes.
Martinez had a solo shot in the sixth and has 29 home runs.
The Diamondbacks turned three double plays, the last in the eighth inning after the Giants put two runners on base with no outs. David Hernandez threw one pitch to get the final out of the inning and strand Parker at third base.
The Giants have lost four of five and fell to 52-80.
A FIRST FOR PERALTA
The Diamondbacks' David Peralta was ejected by home plate umpire Ron Kulpa for arguing after striking out on a foul tip in the fifth inning. It was Peralta's first ejection of his career.
David Peralta with his first career ejection. pic.twitter.com/H3SYHedHss
FOX Sports Arizona (@FOXSPORTSAZ) August 27, 2017
THE GOLDSCHMIDT STANDARD
Diamondbacks manager Torey Lovullo was asked before Sunday's game to put a value on what Goldschmidt means to the team.
"We would never be where we'd be as an organization without Paul Goldschmidt. We'd never have the type of year that we're having without Paul Goldschmidt," Lovullo said. "He's a very unique player in the way that he cares about so many things that you don't even know are out there on a daily basis. I ask him often how he sleeps at night. … We want to make sure he's rested, because he's like Superman. He's everywhere. He touches a lot of lives in a special way."
— FOX Sports Arizona (@FOXSPORTSAZ) August 27, 2017
Diamondbacks SS Ketel Marte was not in the lineup due to a left hamstring injury, but could be ready to play by Tuesday. … SS Nick Ahmed played eight innings for Triple-A Reno on Saturday and is close to returning from a broken hand suffered in late June.
Diamondbacks RHP Zack Godley (5-7) is scheduled to open a three-game series against the Los Angeles Dodgers on Tuesday.