Backport .travis.yml from ruby_3_3 branch.
Update the .travis.yml file copied from the latest ruby_3_3 branch <5124f9ac7513eb590c37717337c430cb93caa151>.
Backport .travis.yml from ruby_3_3 branch.
Update the .travis.yml file copied from the latest ruby_3_3 branch
<5124f9ac7513eb590c37717337c430cb93caa151>.