Is there a machine-friendly way to get a list of the available dist and osx_image values?

I’d like to automate the process of updating the dist and osx_image values of my builds.
Is there any place where I can fetch the available entries, possibly sorted by novelty?
That is, besides scraping the Travis documentation pages, which is rather fragile.

Thanks is the contents of the OSX images table in

There’s no such data file for dist: in the docs (the only places where there full list can currently be found is and (in a more parseable form)).

However, has the list of values accepted by the config validator (i.e. it doesn’t contain undocumented values if there are any).

Which of those sources would you say is the more reliable?

Namely, the one that:

  1. Is more likely to be up to date
  2. Is less likely to get moved or changed in such a way that a trivial parser (e.g. a regex) will break

This JSON schema is used by the config validator, and should be most authoritative.

1 Like

The schema doesn’t have a list of osx_image: values.