NEW YORK — Vallejo native CC Sabathia earned his 225th victory on Saturday, moving past Hall of Famers Catfish Hunter and Jim Bunning for 66th on the career list.

It was the Yankees sixth win in a row as Sabathia moved to 2-0 on the 2017 season.

Looking like both an All-Star ace and a wayward journeyman, Carlos Martinez put on a historically uneven performance for the St. Louis Cardinals, walking a career-high eight while striking out 11 and handing Sabathia and the Yankees a 3-2 win Saturday.

The Yankees won their sixth straight despite tying a team record by fanning 17 times. They got plenty of help from sloppy St. Louis, which at 3-8 is off to its worst start in 20 years and has the poorest record in the NL.

Martinez’s misadventures on the mound also included airmailing a tapper to the backstop and throwing a wild pitch. He became the first Cardinals pitcher with eight walks and 11 Ks in a game since the aptly named Wild Bill Hallahan in 1930.

“I wasn’t really able to execute the pitches the way I wanted to,” Martinez said through a translator.

His troubles stood in sharp contrast to Sabathia (2-0), who took a shutout into the eighth. Jedd Gyorko and Stephen Piscotty homered late for St. Louis.

Martinez (0-2) couldn’t be touched at the start, and not always to his benefit. Of the first 12 batters, none put the ball in play.

The Cardinals’ opening-day starter became the first pitcher in 60 years with at least six strikeouts and six walks through two innings, the Elias Sports Bureau said.

Not until Jacoby Ellsbury hit a leadoff single in the third, on Martinez’s 62nd pitch, did the Yankees give the Cardinals defense a chance. Often twisting and contorting when he missed the strike zone, Martinez was pulled after 5 1/3 innings.

“I thought we did a great job of just laying off some tough pitches,” said Chase Headley, who walked twice. “He’s got great stuff, and he was having a little bit of trouble getting into the zone.”