During the month leading up to the July 31 trade deadline, Mike Minor heard often that he might wind up pitching in the Bronx.

Whatever the Yankees had in mind, this certainly wasn’t it.

Minor and two relievers became the first pitchers in 221 tries to shut out the Yankees’ vaunted lineup, helping the Texas Rangers to a 7-0 victory on Monday over the American League East leaders on Monday.

“He almost made it look easy,” Rangers Manager Chris Woodward said.

The Yankees had the second longest streak without being blanked since at least 1900, behind a 308-game stretch by the Babe Ruth-led Yankees of 1931-33. The Yankees were previously shut out June 30, 2018, by Chris Sale and the Red Sox.

Jose Trevino — a first-time battery mate with Minor — Delino DeShields and Shin-Soo Choo homered to back Minor (12-8), a resurgent All-Star who allowed five hits over seven and a third innings. The left-hander struck out five, walked one and threw 111 pitches before being pulled with two on in the eighth.