Travis

Minimal and Generic Images

What This Guide Covers #

Travis CI supports many popular programming languages, but it can never hope to support them all. This guide covers how to use minimal and generic images.

language: minimal and language: generic are images available in the currently used Ubuntu distributions that are not tailored to any particular programming language. As their names suggest, language: minimal is optimized for speed and disk space, while language: generic offers more languages and services.

Note that language: minimal is not the same as omitting the language key; if you do that, the default language is set to Ruby.

Defaults #

As neither minimal nor generic is tailored to one particular language, there are no default install or script commands, so remember to configure these in your .travis.yml.

Minimal #

The minimal image contains:

Generic #

The generic image contains everything from minimal, and also the usual databases, services, and language runtimes:

For specific details of what is on the image, consult the build update.

Aliases #

Setting the language key to bash, sh, or shell is equivalent to language: minimal.