Which default Linux distribution does Travis CI apply when the `dist` key is omitted in `.travis.yml`?
0 reputation · 13 Feb 2025, 19:29 UTC
The goal is to guarantee repeatable builds by understanding which base image Travis CI selects when a `.travis.yml` file does not explicitly declare a `dist` value.
Travis CI’s default distribution is not fixed; it has shifted from Trusty to Xenial to Focal and may vary depending on the age of the account or internal updates, making builds non‑repeatable if the field is left unspecified.
What is the current default distribution for newly created accounts? How can a user determine the default `dist` that Travis CI will use for their repository? Does explicitly setting `dist` eliminate variability across time and account age?