You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This guide provides an overview of the packages, tools and settings available in the Bionic environment.
11
+
This guide provides an overview of the packages, tools, and settings available in the Bionic environment.
11
12
12
13
## Using Ubuntu 18.04 (Bionic Beaver)
13
14
@@ -18,224 +19,142 @@ dist: bionic
18
19
```
19
20
{: data-file=".travis.yml"}
20
21
22
+
## Environment Common to All Ubuntu 18.04 Images
21
23
22
-
## Differences from the previous release images
24
+
The following versions of Docker, version control software, compilers, and language support are available on all Ubuntu 18.04 builds. All preinstalled software not provided by the distro is installed from an official release — either a prebuilt binary if available, or a source release built with default options.
23
25
24
-
Travis CI Ubuntu 18.04, Bionic, includes the following changes and improvements:
26
+
### Version Control
25
27
26
-
### Third party apt-repositories removed
27
-
28
-
While third party apt-repositories are used during the image provisioning, they are all removed from the Bionic build image. This has two benefits; a) reduced risk of unrelated interference and b) faster apt-get updates.
29
-
30
-
To specify a third party apt-repository, you can [add the source with the apt addon](/user/installing-dependencies/#adding-apt-sources) and specify the packages. For example:
31
-
32
-
```yaml
33
-
dist: bionic
34
-
addons:
35
-
apt:
36
-
sources:
37
-
- ppa:chris-lea/redis-server
38
-
packages:
39
-
- redis-tools
40
-
- redis-server
41
-
```
42
-
{: data-file=".travis.yml"}
43
-
44
-
If you depend on these repositories in your build, you can use the following `source` line to get them back:
On the Ubuntu 18.04 based environment, to speed up boot time and improve performance we've disabled all services by default.
61
-
Add any services that you want to start to your `.travis.yml`:
62
-
63
-
64
-
```yaml
65
-
services:
66
-
- mysql
67
-
- redis
68
-
```
69
-
{: data-file=".travis.yml"}
70
-
71
-
## Environment common to all Ubuntu 18.04 images
72
-
73
-
The following versions of Docker, version control software and compilers are present on all Ubuntu 18.04 builds, along with more language specific software described in more detail in each language section.
74
-
75
-
All preinstalled software not provided by distro is installed from an official release --
76
-
either a prebuilt binary if available, or a source release built with default options.
77
-
For preinstalled language interpreters, a standard version manager like `rvm` is used if available for the language.
78
-
79
-
### Version control
80
-
81
-
| package | version |
82
-
|:--------|:---------|
83
-
| git | `2.43.0` |
84
-
| git-lfs | `2.3.4` |
85
-
| hg | `5.3` |
86
-
| svn | `1.9.7` |
28
+
| Package | Version |
29
+
|:-------------|:----------|
30
+
|**git**|`2.43.0`|
31
+
|**git-lfs**|`2.3.4`|
32
+
|**hg**|`5.3`|
33
+
|**svn**|`1.9.7`|
87
34
{: style="width: 30%" }
88
35
89
-
### Compilers and Build toolchain
36
+
### Compilers and Build Toolchain
90
37
91
-
* clang and llvm 16
92
-
* cmake 3.26.3
93
-
* gcc 7.5.0
94
-
* ccache 3.4.1
95
-
* shellcheck 0.10.0
96
-
* shfmt 3.8.0
97
-
98
-
To use the IBM Advance Toolchain v14 compilers under `ppc64le` architecture in Focal LXD image, use the following paths in your `.travis.yml`:
- Build Python Command: `sudo sh python_interpreter.sh`
66
+
The following Python versions are directly callable:
135
67
136
-
### Docker
68
+
| Alias | Version |
69
+
|:---------|:----------|
70
+
|**3.6**|`3.6.9`|
71
+
|**3.7**|`3.7.17`|
72
+
|**3.8**|`3.8.18`|
73
+
|**3.12**|`3.12.4`|
74
+
75
+
### JavaScript and Node.js Support
137
76
138
-
* Docker 24.0.2 is installed
139
-
* docker-compose 2.18.1
77
+
* For builds specifying `language: node_js`, `nvm` is automatically updated to the latest version at build time.
78
+
* The default Node.js version available on the machine is:
79
+
*`v16.15.1`
80
+
* Additional Node.js versions are available through nvm if configured.
140
81
141
-
## Ruby support
82
+
### Go Support
142
83
143
-
* Pre-installed Rubies: `2.5.9`, `2.7.6` and `3.3.0`.
144
-
* The default ruby is `3.3.0`.
145
-
* Other ruby versions can be installed during build time.
84
+
***Pre-installed Go:**
85
+
*`go version go1.23.6 linux/amd64`
86
+
Additional Go versions can be installed during build time by specifying the language version with the `go:` key.
146
87
147
-
## Python support
88
+
### JVM (Clojure, Groovy, Java, Scala) Support
148
89
149
-
* Supported Python versions: `3.6` or higher.
150
-
* Python `3.12.0` will be used when no language version is explicitly set.
151
-
* The following Python versions are preinstalled:
90
+
***Pre-installed JVMs:**
91
+
* Default Java:
92
+
*`openjdk version "11.0.21" 2023-10-17 LTS`
93
+
* Other JDKs, including Oracle's, can be acquired if available by specifying the `jdk` key.
94
+
* The following JVM tooling is preinstalled:
152
95
153
-
| alias | version |
154
-
| :----- | :------- |
155
-
| 3.6 | 3.6.15 |
156
-
| 3.7 | 3.7.17 |
157
-
| 3.8 | 3.8.18 |
158
-
| 3.12 | 3.12.0 |
96
+
| Package | Version |
97
+
|:-----------|:----------|
98
+
|**Gradle**|`8.3`|
99
+
|**Maven**|`3.9.4`|
100
+
|**Groovy**|`4.0.15`|
159
101
{: style="width: 30%" }
160
102
161
-
If you're getting errors about PyPy `pypy is not installed; attempting download`, use one of the more recent versions.
162
-
163
-
## JavaScript and Node.js support
164
-
165
-
* For builds specifying `language: node_js`, `nvm` is automatically updated to the latest version at build time. For other builds, the stable version at image build time has been selected, which is 0.10.48.
166
-
* The following NodeJS versions are preinstalled: `20.14.0`, `18.20.3`, `16.20.2`, `16.15.1`, `16.15`, `12.22.12`, `10.24.1`, `8.17.0`, `6.17.1` and `4.9.1`.
167
-
168
-
## Go support
103
+
### Perl Support
169
104
170
-
* Pre-installed Go: `1.18.1`
105
+
* The default Perl version on Ubuntu 18.04 is provided by the system.
106
+
* Additional Perl versions can be installed using the `perl:` key.
107
+
* Tools like `TAP::Harness` and `cpanm` are also available.
171
108
172
-
* Other Go versions can be installed during build time by specifying the language versions with the `go:`-key.
109
+
### PHP Support
173
110
174
-
## JVM (Clojure, Groovy, Java, Scala) support
175
-
176
-
* Pre-installed JVMs: `openjdk8`, `openjdk9`, `opnejdk10` and `openjdk11` on x86, default
177
-
is `openjdk11`.
111
+
* For dynamic runtime selection, `phpenv` is available.
112
+
* The preinstalled PHP version on this image is:
113
+
*`PHP 7.2.27` (CLI)
114
+
* If a different version is required, it can be installed during the build.
178
115
179
-
* Other JDKs, including Oracle's, can be acquired if available by specifying `jdk`.
116
+
#### Extensions for PHP 7.2 and Higher
180
117
181
-
* The following table summarizes the Pre-installed JVM tooling versions:
118
+
The following extensions are preinstalled for PHP builds:
182
119
183
-
| package | version |
184
-
|:--------|:--------|
185
-
| gradle | 8.3 |
186
-
| maven | 3.9.4 |
187
-
| groovy | 4.0.15 |
188
-
{: style="width: 30%" }
120
+
-[apcu.so](http://php.net/apcu)
121
+
-[memcached.so](http://php.net/memcached) (Not preinstalled for > PHP8.0)
122
+
-[mongodb.so](https://php.net/mongodb)
123
+
-[amqp.so](http://php.net/amqp)
124
+
-[zmq.so](http://zeromq.org/bindings:php)
125
+
-[xdebug.so](http://xdebug.org)
126
+
-[redis.so](http://pecl.php.net/package/redis)
189
127
190
-
## Perl support
128
+
> **Note:** With the exception of xdebug, these extensions are not enabled by default.
191
129
192
-
* Default version on Bionic is `5.33`
193
-
* Supported versions `5.32` and `5.33` can be installed by using the `perl:`-key.
194
-
* `TAP::Harness` v3.38 and `cpanm` (App::cpanminus) version 1.7044 are also pre-installed.
130
+
### Databases and Services
195
131
196
-
## PHP support
132
+
The following services and databases are preinstalled but do not run by default. To use any in your build, add the service to your `.travis.yml`:
197
133
198
-
* For dynamic runtime selection, `phpenv` is available.
Please note that these extensions are not enabled by default with the exception
224
-
of xdebug.
225
-
226
-
## Databases and services
227
-
228
-
The following services and databases are preinstalled but but do not run by default.
229
-
To use one in your build, add it to the services key in your `travis.yml` :
230
-
231
-
| service | version |
232
-
|:-----------|:---------------|
233
-
| mongodb | 4.4.29 |
234
-
| mysql | 5.7.42 |
235
-
| redis | 7.2.5 |
236
-
| postgresql | 9.3 9.4 9.5 9.6 10 11 |
237
-
{: style="width: 30%" }
155
+
To use Android, specify `language: android` in your `.travis.yml` and refer to the [Android Build Environment Guide](/user/languages/android/) for additional configuration details.
238
156
239
157
## Other Ubuntu Linux Build Environments
240
158
241
-
You can have a look at the [Ubuntu Linux overview page](/user/reference/linux/) for the different Ubuntu Linux build environments you can use.
159
+
For details on other Ubuntu Linux build environments available on Travis CI, please refer to the [Ubuntu Linux overview page](/user/reference/linux/).
0 commit comments