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.
10
+
This guide provides an overview of the packages, tools, and settings available in the Bionic environment.
11
11
12
12
## Using Ubuntu 18.04 (Bionic Beaver)
13
13
@@ -18,224 +18,142 @@ dist: bionic
18
18
```
19
19
{: data-file=".travis.yml"}
20
20
21
+
## Environment Common to All Ubuntu 18.04 Images
21
22
22
-
## Differences from the previous release images
23
+
All Ubuntu 18.04 builds include the following versions of Docker: version control software, compilers, and language support. 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
24
24
-
Travis CI Ubuntu 18.04, Bionic, includes the following changes and improvements:
25
+
### Version Control
25
26
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` |
27
+
| Package | Version |
28
+
|:-------------|:----------|
29
+
| **git** | `2.43.0` |
30
+
| **git-lfs** | `2.3.4` |
31
+
| **hg** | `5.3` |
32
+
| **svn** | `1.9.7` |
87
33
{: style="width: 30%" }
88
34
89
-
### Compilers and Build toolchain
35
+
### Compilers and Build Toolchain
90
36
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`
65
+
The following Python versions are directly callable:
135
66
136
-
### Docker
67
+
| Alias | Version |
68
+
|:---------|:----------|
69
+
| **3.6** | `3.6.9` |
70
+
| **3.7** | `3.7.17` |
71
+
| **3.8** | `3.8.18` |
72
+
| **3.12** | `3.12.4` |
73
+
74
+
### JavaScript and Node.js Support
137
75
138
-
* Docker 24.0.2 is installed
139
-
* docker-compose 2.18.1
76
+
* For builds specifying `language: node_js`, `nvm` is automatically updated to the latest version at build time.
77
+
* The default Node.js version available on the machine is:
78
+
* `v16.15.1`
79
+
* Additional Node.js versions are available through nvm if configured.
140
80
141
-
## Ruby support
81
+
### Go Support
142
82
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.
83
+
* **Pre-installed Go:**
84
+
* `go version go1.23.6 linux/amd64`
85
+
Additional Go versions can be installed during build time by specifying the language version with the `go:` key.
146
86
147
-
## Python support
87
+
### JVM (Clojure, Groovy, Java, Scala) Support
148
88
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:
89
+
* **Pre-installed JVMs:**
90
+
* Default Java:
91
+
* `openjdk version "11.0.21" 2023-10-17 LTS`
92
+
* Other JDKs, including Oracle's, can be acquired if available by specifying the `jdk` key.
93
+
* The following JVM tooling is preinstalled:
152
94
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 |
95
+
| Package | Version |
96
+
|:-----------|:----------|
97
+
| **Gradle** | `8.3` |
98
+
| **Maven** | `3.9.4` |
99
+
| **Groovy** | `4.0.15` |
159
100
{: style="width: 30%" }
160
101
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
102
+
### Perl Support
169
103
170
-
* Pre-installed Go: `1.18.1`
104
+
* The default Perl version on Ubuntu 18.04 is provided by the system.
105
+
* Additional Perl versions can be installed using the `perl:` key.
106
+
* Tools like `TAP::Harness` and `cpanm` are also available.
171
107
172
-
* Other Go versions can be installed during build time by specifying the language versions with the `go:`-key.
108
+
### PHP Support
173
109
174
-
## JVM (Clojure, Groovy, Java, Scala) support
175
-
176
-
* Pre-installed JVMs: `openjdk8`, `openjdk9`, `opnejdk10` and `openjdk11` on x86, default
177
-
is `openjdk11`.
110
+
* For dynamic runtime selection, `phpenv` is available.
111
+
* The preinstalled PHP version on this image is:
112
+
* `PHP 7.2.27` (CLI)
113
+
* If a different version is required, it can be installed during the build.
178
114
179
-
* Other JDKs, including Oracle's, can be acquired if available by specifying `jdk`.
115
+
#### Extensions for PHP 7.2 and Higher
180
116
181
-
* The following table summarizes the Pre-installed JVM tooling versions:
117
+
The following extensions are preinstalled for PHP builds:
182
118
183
-
| package | version |
184
-
|:--------|:--------|
185
-
| gradle | 8.3 |
186
-
| maven | 3.9.4 |
187
-
| groovy | 4.0.15 |
188
-
{: style="width: 30%" }
119
+
- [apcu.so](http://php.net/apcu)
120
+
- [memcached.so](http://php.net/memcached) (Not preinstalled for > PHP8.0)
121
+
- [mongodb.so](https://php.net/mongodb)
122
+
- [amqp.so](http://php.net/amqp)
123
+
- [zmq.so](http://zeromq.org/bindings:php)
124
+
- [xdebug.so](http://xdebug.org)
125
+
- [redis.so](http://pecl.php.net/package/redis)
189
126
190
-
## Perl support
127
+
> **Note:** With the exception of xdebug, these extensions are not enabled by default.
191
128
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.
129
+
### Databases and Services
195
130
196
-
## PHP support
131
+
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
132
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%" }
154
+
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
155
239
156
## Other Ubuntu Linux Build Environments
240
157
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.
158
+
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