Skip to content

Commit 70bbeff

Browse files
committed
Merge branch 'master' of github.com:travis-ci/docs-travis-ci-com
2 parents e50a3a5 + fac3f30 commit 70bbeff

File tree

3 files changed

+73
-1
lines changed

3 files changed

+73
-1
lines changed

_includes/sidebar.html

+1
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ <h3>Programming Languages</h3>
6666
<li><a href="{{language[1]}}">{{language[0]}}</a></li>
6767
{% endfor %}
6868
<li><a href="/user/languages/community-supported-languages/">Adding a language</a></li>
69+
<li><a href="/user/languages/minimal-and-generic/">Minimal and Generic images</a></li>
6970
</ul>
7071

7172
<h3>Deployments and Uploads</h3>

user/languages/minimal-and-generic.md

+71
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
---
2+
title: Minimal and Generic images
3+
layout: en
4+
5+
---
6+
7+
## What This Guide Covers
8+
9+
Travis CI supports many popular programming languages, but can never hope to support them all. `language: minimal` and `language: generic` are images running Ubuntu Trusty that are not tailored to any particular programming language. Both are available on both sudo-enabled and container-based infrastructure. As their names suggest, one is optimized be faster and use less disk space, the other to have more languages and services available.
10+
11+
> Note that `language: minimal` is not the same as omitting the `language` key, if you do that the default language is set to Ruby.
12+
13+
<aside markdown="block" class="ataglance">
14+
15+
| Ruby | Default |
16+
|:------------------|:------------------------------------------------------------------|
17+
| Default `install` | N/A |
18+
| Default `script` | N/A |
19+
| Matrix keys | N/A |
20+
| Support | [Travis CI](mailto:[email protected]?Subject=Minimal%20image) |
21+
22+
Examples:
23+
24+
```yaml
25+
language: minimal
26+
```
27+
{: data-file=".travis.yml"}
28+
29+
30+
```yaml
31+
language: generic
32+
```
33+
{: data-file=".travis.yml"}
34+
35+
</aside>
36+
37+
## Defaults
38+
39+
As neither `minimal` or `generic` are tailed to one particular language, there are no default `install` or `script` commands, so remember to configure these in your `.travis.yml`.
40+
41+
## Minimal
42+
43+
The `minimal` image contains:
44+
45+
* [version control tools](/user/reference/trusty/#version-control)
46+
* [essential build tools such as gcc and make](/user/reference/trusty/#compilers--build-toolchain)
47+
* [network tools such as curl and essential](/user/reference/trusty/#networking-tools)
48+
* [Docker](/user/reference/trusty/#docker)
49+
50+
## Generic
51+
52+
The `generic` image contains everything from `minimal`, and also the usual databases, services and language runtimes:
53+
54+
* [version control tools](/user/reference/trusty/#version-control)
55+
* [essential build tools such as gcc and make](/user/reference/trusty/#compilers--build-toolchain)
56+
* [network tools such as curl and essential](/user/reference/trusty/#networking-tools)
57+
* [Docker](/user/reference/trusty/#docker)
58+
* [databases and services](/user/reference/trusty/#databases-and-services)
59+
* [go](/user/reference/trusty/#go-images)
60+
* [jvm](/user/reference/trusty/#jvm-clojure-groovy-java-scala-images)
61+
* [node_js](/user/reference/trusty/#javascript-and-nodejs-images)
62+
* [php](/user/reference/trusty/#php-images)
63+
* [python](/user/reference/trusty/#python-images)
64+
* [ruby](/user/reference/trusty/#ruby-images)
65+
66+
For specific details of what is on the image consult the [build update](/user/build-environment-updates/2017-12-12/#2017-12-12).
67+
68+
69+
## Aliases
70+
71+
Setting the `language` key to `bash`, `sh` or `shell` is equivalent to `language: minimal`.

user/reference/trusty.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -400,4 +400,4 @@ secondary groups given above in `usermod`.
400400
### Build system information
401401

402402
In the build log, relevant software versions (including the available language
403-
versions) is show in the "Build system information".
403+
versions) are shown in the "Build system information" section.

0 commit comments

Comments
 (0)