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: minimalis not the same as omitting thelanguagekey; 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:
- version control tools
- essential build tools such as gcc and make
- network tools such as curl
- Docker
- python
Generic #
The generic image contains everything from minimal, and also the usual databases, services, and language runtimes:
- version control tools
- essential build tools such as gcc and make
- network tools such as curl and essential
- Docker
- databases and services
- go
- jvm
- node_js
- php
- ruby
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.