The Astros acquired Trammell from the Yankees on Monday, Chandler Rome of The Athletic reports.
The Yankees selected Trammell's contract from Triple-A Scranton/Wilkes-Barre on Sunday.
Trammell was outrighted to Triple-A Scranton/Wilkes-Barre on Tuesday.
The Yankees designated Trammell for assignment Saturday.
The Yankees claimed Trammell off waivers from the Dodgers on Thursday.
The Dodgers designated Trammell for assignment Tuesday.
The Dodgers claimed Trammell off waivers from the Mariners on Tuesday, Robert Murray of FanSided.com reports.
The Mariners designated Trammell for assignment Thursday, Ryan Divish of The Seattle Times reports.
Trammell went 1-for-3 with a two-run home run in a Cactus League tie with the Brewers on Friday.
Trammell was optioned to Triple-A Tacoma on Tuesday.