The Cubs have won five straight and 15 of 20 to remain in a tie with the Milwaukee Brewers atop the NL Central. Chicago kept up its success at Wrigley Field, where it has won six in a row and nine of 10.
“These guys are playing at a high level," manager David Ross said. "They're playing with a ton of confidence. I think the talent is showing up on a nightly basis. I think we find a way to win every single night. It's a good feeling to have a nice homestand and sweep a division opponent.”
The teams combined for only six hits, four by the Cubs. Anthony Rizzo went 1 for 4 and recorded the game's only RBI.
St. Louis has dropped three straight and 11 of 13 to fall one game below .500 for the first time since April 23 at 32-33.
Davies (4-3) struck out six and walked two in 6 2/3 innings to win his second straight start.
The right-hander retired the first 13 batters he faced before Tyler O'Neill singled off the glove of third baseman Patrick Wisdom. O'Neill tried for a double when the ball rolled into foul territory, but Wisdom recovered to throw him out.
The Cardinals' only threat against Davies came in the seventh. Dylan Carlson led off with a double, but Davies responded by getting sluggers Paul Goldschmidt and Nolan Arenado to ground out. Davies was pulled after walking O'Neill to put runners on first and second.
Tepera also worked a scoreless eighth and Craig Kimbrel struck out three in the ninth, working around a one-out walk, for his 18th save in 20 chances.
Martinez (3-7) allowed two unearned runs on four hits in seven innings to drop his third straight start. It was a dramatic turnaround from his previous two starts when the right-hander gave up a combined 15 runs in 4 2/3 innings, including 10 runs while getting just two outs on June 2 against the Los Angeles Dodgers.
“He was fantastic, he was tremendous,” St. Louis manager Mike Shildt said of Martinez. “Great passion, great pace. The slider was filthy, the 4-seamer was solid. He was in control of what he was doing the whole time.”
The Cubs scored twice in the third. Eric Sogard led off with a double, advanced to third on a groundout and scored when shortstop Paul DeJong misplayed a grounder by Joc Pederson for an error with two out. Two batters later, Pederson scored on a single by Rizzo.
Besides Martinez's rebound, the most positive aspect of the game for the Cardinals was two spectacular plays at third by Arenado.
In the second, he ranged to his right to snag a hot grounder seemingly headed down the line and threw an off-balanced strike to first base from foul territory to nab Willson Contreras. In the fourth, he made a similar play against Wisdom, this time bouncing a perfect throw on one hop for the out.
Cardinals: LHP Kwang Hyun Kim (lower back tightness) threw a bullpen session before the game and gave a thumbs up to reporters as he exited the field. If there are no complications, Kim could start Tuesday night against Miami ... OF Justin Williams (neck stiffness) went 2 for 5 with an RBI and a run scored in two rehab appearances over the weekend for Triple-A Memphis. He is eligible to be activated from the 10-day injured list on Monday.
Cubs: SS Javier Báez was scratched from the original lineup because of a sore right thumb. He missed three games last week in San Diego because of the same thumb and seemed to aggravate it Saturday night after diving into the stands trying to catch a foul ball. He received treatment Sunday. “We don't want this to linger,” Ross said.
Sources: New York Yankees acquiring LHP Andrew Heaney from Los Angeles Angels
The New York Yankees are acquiring left-hander Andrew Heaney from the Los Angeles Angels, a source told ESPN's Jeff Passan.
Fantasy baseball forecaster: Pitcher projections for the next 10 days
Keep up to date on who is pitching -- and how well they're expected to do -- with our forecaster, which provides a rolling 10-day outlook of every team's probable starting pitchers with game score projections.
Fantasy baseball forecaster: Team hitting ratings
Stay ahead of the game and optimize your fantasy baseball hitters with our forecaster, which provides a rolling 10-day outlook of every team's hitting matchups as well as the potential for stolen bases.
Trade grades -- Mets add sizzle with Javier Baez as Cubs' deadline overhaul continues
The New York Mets have acquired Javier Baez, one of baseball's most exciting players, in a trade with the Chicago Cubs. Who got the better of this deal?
MLB trade deadline grades - Winners, losers and details for every major deal
Here's our report card for every big trade deadline move.
Fantasy baseball reaction to Craig Kimbrel, Javier Baez trades
Eric Karabell analyzes the continued fire sale being held by the Chicago Cubs, as they send their closer across town to the White Sox and their shortstop to New York.