Jody Martinez hit a two-run home run and two- 5 win over the San Francisco Giants game set.

Jose Altuve went 3-for-5 with an inside-the-park home run, his first career round-tripper, for the Astros, who tied their season-high with their fourth straight win. Jordan Lyles (2-7) got the win as he gave up just two unearned runs on seven hits with two walks and four strikeouts over five innings.

Houston now has a chance for just its second sweep of the season and first since a three-game sweep of the Cubs from May 30-June 1.

Cody Ross and Pablo Sandoval each drove in two runs for the Giants, who continue their free-fall with their fifth loss in their past six games. Madison Bumgarner (7-12) gave up seven runs -- six earned -- on 11 hits in 6 2/3 innings.

San Francisco, since winning two straight over the Phillies on July 27-28, has been mired in a slump as the team is just 6-16 since then. Luckily for them, though, they haven't fallen too far behind Arizona and remain three games behind the NL West leaders as the Diamondbacks have lost three straight and are currently losing to the Braves.