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
Travis CI Ubuntu 22.04, Jammy, includes the following changes and improvements:
23
-
24
-
### Third party apt-repositories removed
25
-
26
-
While third party apt-repositories are used during the image provisioning, they are all removed from the build image. This has two benefits; a) reduced risk of unrelated interference and b) faster apt-get updates.
27
-
28
-
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:
29
-
30
-
```yaml
31
-
dist: jammy
32
-
addons:
33
-
apt:
34
-
sources:
35
-
- sourceline: 'ppa:chris-lea/redis-server'
36
-
packages:
37
-
- redis-tools
38
-
- redis-server
39
-
```
40
-
{: data-file=".travis.yml"}
41
-
42
-
If you depend on these repositories in your build, you can use the following `source` line to get them back:
On the Ubuntu 22.04 based environment, to speed up boot time and improve performance we've disabled all services by default.
57
-
Add any services that you want to start to your `.travis.yml`:
58
-
59
-
60
-
```yaml
61
-
services:
62
-
- mysql
63
-
- redis
64
-
```
65
-
{: data-file=".travis.yml"}
66
-
67
19
## Environment common to all Ubuntu 22.04 images
68
20
69
-
The following versions of Docker, version control software and compilers are present on all Ubuntu 22.04 builds, along with more language specific software described in more detail in each language section.
70
-
71
-
All preinstalled software not provided by distro is installed from an official release --
72
-
either a prebuilt binary if available, or a source release built with default options.
21
+
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.
73
22
For preinstalled language interpreters, a standard version manager like `rvm` is used if available for the language.
74
23
75
-
### Version control
24
+
### Version Control
76
25
77
-
| package | version |
78
-
|:--------|:---------|
79
-
| git | `2.36.1` |
80
-
| git-lfs | `3.0.2` |
81
-
| hg | `5.3` |
82
-
| svn | `1.14.1` |
26
+
| package | version |
27
+
|:---------|:----------|
28
+
| git | `2.48.1` |
29
+
| git-lfs | `3.0.2` |
30
+
| hg | `6.5.2` |
31
+
| svn | `1.14.1` |
83
32
{: style="width: 30%" }
84
33
85
-
### Compilers and Build toolchain
86
-
87
-
| package | version |
88
-
|:--------|:---------|
89
-
| clang | `7.0.0` |
90
-
| llvm | `14.0.0` |
91
-
| cmake | `3.16.8` |
92
-
| gcc | `11.2.0` |
93
-
| ccache | `4.5.1` |
94
-
| shellcheck | `0.7.2` |
95
-
| shfmt | `3.2.1` |
96
-
{: style="width: 30%" }
34
+
### Compilers and Build Toolchain
97
35
36
+
| package | version |
37
+
|:-----------|:----------|
38
+
| clang | `18.1.8` |
39
+
| cmake | `3.29.0` |
40
+
| gcc | `11.4.0` |
41
+
| ccache | `4.5.1` |
42
+
| shellcheck | `0.10.0` |
43
+
| shfmt | `3.8.0` |
44
+
{: style="width: 30%" }
98
45
99
46
### Docker
100
47
101
-
* Docker `20.10.12` is installed.
102
-
* docker-compose `1.29.2` is also available.
48
+
* Docker `28.0.1` (build 068a01e) is installed.
49
+
* docker-compose `v2.27.1` is also available.
103
50
104
-
## Ruby support
51
+
### Ruby Support
105
52
106
-
* Pre-installed Rubies: `3.0.4`, `3.1.2`.
53
+
* Pre-installed Rubies: `3.0.4` and `3.1.2`.
107
54
* The default ruby is `3.1.2`.
108
55
* Other ruby versions can be installed during build time.
109
56
110
-
## Python support
57
+
### Python Support
111
58
112
-
* Supported Python version is: `3.7.7` or higher as `2.7` has been sunsetted.
113
-
* Python `3.10.5` will be used by default when no language version is explicitly set.
114
-
* The following Python versions are preinstalled:
59
+
* Supported Python version is: **3.8 or higher** as Python 2.7 has been sunset.
60
+
* The following Python versions are available via pyenv:
115
61
116
-
| alias | version |
117
-
| :----- | :------- |
118
-
| `3.7` | `3.7.7` |
119
-
| `3.8` | `3.8.3` |
120
-
| `3.9` | `3.9.13` |
121
-
| `3.10` | `3.10.5` |
62
+
| alias | version |
63
+
|:-------|:----------|
64
+
| `3.8` | `3.8.18` |
65
+
| `3.12` | `3.12.4` |
122
66
{: style="width: 30%" }
123
67
68
+
### JavaScript and Node.js Support
124
69
125
-
## JavaScript and Node.js support
126
-
127
-
* 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.39.1`.
128
-
* The following NodeJS versions are preinstalled: `14.18.1`, `16.13.0` and `17.1.0`.
70
+
* For builds specifying `language: node_js`, `nvm` is automatically updated to the latest version at build time.
71
+
* The default Node.js version available on the machine is:
72
+
* `v18.20.3`
129
73
130
-
## Go support
74
+
### Go Support
131
75
132
-
* Pre-installed Go: `1.18.3`.
76
+
* Pre-installed Go:
77
+
* `go version go1.23.6 linux/amd64`
78
+
Additional Go versions can be installed during build time by specifying the language version with the `go:` key.
133
79
134
-
* Other Go versions can be installed during build time by specifying the language versions with the `go:`-key.
135
-
136
-
## JVM (Clojure, Groovy, Java, Scala) support
137
-
138
-
* Pre-installed JVMs: `openjdk11`, and `openjdk17` on x86, default is `openjdk11`.
80
+
### JVM (Clojure, Groovy, Java, Scala) Support
139
81
82
+
* Pre-installed JVMs:
83
+
* Default Java:
84
+
* `openjdk version "11.0.21" 2023-10-17 LTS`
140
85
* Other JDKs, including Oracle's, can be acquired if available by specifying `jdk`.
86
+
* The following JVM tooling is preinstalled:
141
87
142
-
* The following table summarizes the Pre-installed JVM tooling versions:
143
-
144
-
| package | version |
145
-
|:--------|:--------|
146
-
| gradle | `5.1.1` |
147
-
| maven | `3.6.3` |
148
-
| groovy | `2.4.21`|
88
+
| package | version |
89
+
|:--------|:----------|
90
+
| gradle | `8.3` |
91
+
| maven | `3.9.4` |
92
+
| groovy | `4.0.15` |
149
93
{: style="width: 30%" }
150
94
151
-
## Perl support
95
+
### Perl Support
152
96
153
-
* Default version on Jammy is `5.34.0`
154
-
* Supported versions `5.33` can be installed by using the `perl:`-key.
97
+
* Default version on Jammy is `5.34.0`.
98
+
* Supported versions (e.g. `5.33`) can be installed using the `perl:`key.
155
99
156
-
## PHP support
100
+
### PHP Support
157
101
158
102
* For dynamic runtime selection, `phpenv` is available.
159
103
* The following PHP versions are preinstalled:
160
104
161
-
| alias | version |
162
-
|:----- | :-------|
163
-
| `8.1` | `8.1.2` |
105
+
| alias | version |
106
+
|:------|:---------|
107
+
| `8.1` | `8.1.2` |
164
108
{: style="width: 30%" }
165
109
166
-
## Databases and services
110
+
### Databases and Services
167
111
168
-
The following services and databases are preinstalled but but do not run by default.
169
-
To use one in your build, add it to the services key in your `travis.yml`:
112
+
The following services and databases are preinstalled but do not run by default.
113
+
To use one in your build, add it to the `services` key in your `.travis.yml`:
170
114
171
-
| service | version |
172
-
|:-----------|:---------------|
173
-
| mysql | `8.0.29` |
174
-
| redis | `6.0.6` |
175
-
| postgresql | `14.3` |
115
+
| service | version |
116
+
|:-------------|:----------|
117
+
| mongodb | `6.0.20` |
118
+
| mysql | `8.0.41` |
119
+
| redis | `7.4.2` |
120
+
| postgresql | `14.17` |
176
121
{: style="width: 30%" }
177
122
123
+
### Android Support
124
+
125
+
For Android builds, the environment provides comprehensive support with the following pre-installed components:
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.
137
+
178
138
## Other Ubuntu Linux Build Environments
179
139
180
-
You can have a look at the [Ubuntu Linux overview page](/user/reference/linux/) for the different Ubuntu Linux build environments you can use.
140
+
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