Skip to content

Commit f3f009c

Browse files
authored
Merge branch 'master' into michal-at-travisci-title-change-workspace
2 parents 1b52aa6 + e031f69 commit f3f009c

File tree

8 files changed

+389
-74
lines changed

8 files changed

+389
-74
lines changed

user/environment-variables.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,10 @@ to tag the build, or to run post-build deployments.
231231
- `TRAVIS_TEST_RESULT`: **0** if all commands in the `script` section (up to the point this environment variable is referenced) have exited with zero; **1** otherwise.
232232
- `TRAVIS_TAG`: If the current build is for a git tag, this variable is set to the tag's name, otherwise it is empty (`""`).
233233
- `TRAVIS_BUILD_STAGE_NAME`: The [build stage](/user/build-stages/). If a build does not use build stages, this variable is empty (`""`).
234+
- `TRAVIS_JOB_RESTARTED`:
235+
+ set to `true` if the build is restarted.
236+
+ set to `false` if the build has not been restarted.
237+
- `TRAVIS_JOB_RESTARTED_BY`: The login of the user triggering the restart.
234238

235239
Language-specific builds expose additional environment variables representing
236240
the current version being used to run the build. Whether or not they're set

user/open_source_license.md

Lines changed: 308 additions & 2 deletions
Large diffs are not rendered by default.

user/reference/bionic.md

Lines changed: 33 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ title: The Ubuntu 18.04 Build Environment
33
layout: en
44
---
55

6+
> Bionic LTS Standard is EOL by Canonical, try updating to a newer image. It will be in use in Travis CI for some time more, but it's time to consider migration of your builds to a newer build environment image.
7+
68
## What This Guide Covers
79

810
This guide provides an overview of the packages, tools and settings available in the Bionic environment.
@@ -43,15 +45,14 @@ If you depend on these repositories in your build, you can use the following `so
4345

4446
| package | source |
4547
|:---------------------|:-----------------------------|
46-
| couchdb | `https://apache.bintray.com/couchdb-deb` |
47-
| docker | `docker-bionic` |
48+
| couchdb | `https://couchdb.apache.org/repo/` |
49+
| docker | `docker` |
4850
| google-chrome-stable | `google-chrome` |
4951
| git-lfs | `github-git-lfs-bionic` |
5052
| git-ppa | `ppa:git-core/ppa` |
5153
| haskell | `ppa:hvr/ghc` |
52-
| mongodb | `mongodb-4.0-bionic` |
54+
| mongodb | `mongodb-4.4-bionic` |
5355
| pollinate | `ppa:pollinate/ppa` |
54-
| redis | `ppa:chris-lea/redis-server` |
5556
{: style="width: 80%" }
5657

5758
### Services disabled by default
@@ -79,20 +80,20 @@ For preinstalled language interpreters, a standard version manager like `rvm` is
7980

8081
| package | version |
8182
|:--------|:---------|
82-
| git | `2.27.0` |
83-
| git-lfs | `2.11.0` |
84-
| hg | `4.8` |
83+
| git | `2.43.0` |
84+
| git-lfs | `2.3.4` |
85+
| hg | `5.3` |
8586
| svn | `1.9.7` |
8687
{: style="width: 30%" }
8788

8889
### Compilers and Build toolchain
8990

90-
* clang and llvm 7
91-
* cmake 3.12.4
91+
* clang and llvm 16
92+
* cmake 3.26.3
9293
* gcc 7.5.0
9394
* ccache 3.4.1
94-
* shellcheck 0.7.0
95-
* shfmt 2.6.3
95+
* shellcheck 0.10.0
96+
* shfmt 3.8.0
9697

9798
To use the IBM Advance Toolchain v14 compilers under `ppc64le` architecture in Focal LXD image, use the following paths in your `.travis.yml`:
9899

@@ -134,43 +135,45 @@ To use the IBM Advance Toolchain v14 compilers under `amd64` architecture in Foc
134135

135136
### Docker
136137

137-
* Docker 18.06.0-ce is installed
138-
* docker-compose 1.23.1.
138+
* Docker 24.0.2 is installed
139+
* docker-compose 2.18.1
139140

140141
## Ruby support
141142

142-
* Pre-installed Rubies: `2.4.9`, `2.5.3`, `2.5.7`, `2.6.5` and `2.7.0`.
143-
* The default ruby is `2.6.5`.
143+
* Pre-installed Rubies: `2.5.9`, `2.7.6` and `3.3.0`.
144+
* The default ruby is `3.3.0`.
144145
* Other ruby versions can be installed during build time.
145146

146147
## Python support
147148

148-
* Supported Python versions: `2.7`, `3.6` or higher.
149-
* Python `2.7.17` will be used when no language version is explicitly set.
149+
* Supported Python versions: `3.6` or higher.
150+
* Python `3.12.0` will be used when no language version is explicitly set.
150151
* The following Python versions are preinstalled:
151152

152153
| alias | version |
153154
| :----- | :------- |
154-
| 2.7 | 2.7.17 |
155-
| 3.6 | 3.6.9 |
155+
| 3.6 | 3.6.15 |
156+
| 3.7 | 3.7.17 |
157+
| 3.8 | 3.8.18 |
158+
| 3.12 | 3.12.0 |
156159
{: style="width: 30%" }
157160

158161
If you're getting errors about PyPy `pypy is not installed; attempting download`, use one of the more recent versions.
159162

160163
## JavaScript and Node.js support
161164

162165
* 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.
163-
* The following NodeJS versions are preinstalled: `13.3.0`, `12.18.1`, `12.13.1`, `11.15.0`, `10.21.0`, `10.16.0`, and `8.17.0`.
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`.
164167

165168
## Go support
166169

167-
* Pre-installed Go: `1.11.1`
170+
* Pre-installed Go: `1.18.1`
168171

169172
* Other Go versions can be installed during build time by specifying the language versions with the `go:`-key.
170173

171174
## JVM (Clojure, Groovy, Java, Scala) support
172175

173-
* Pre-installed JVMs: `openjdk8`, `openjdk10`, and `openjdk11` on x86, default
176+
* Pre-installed JVMs: `openjdk8`, `openjdk9`, `opnejdk10` and `openjdk11` on x86, default
174177
is `openjdk11`.
175178

176179
* Other JDKs, including Oracle's, can be acquired if available by specifying `jdk`.
@@ -179,15 +182,15 @@ is `openjdk11`.
179182

180183
| package | version |
181184
|:--------|:--------|
182-
| gradle | 5.1.1 |
183-
| maven | 3.6.3 |
184-
| groovy | 2.4.5 |
185+
| gradle | 8.3 |
186+
| maven | 3.9.4 |
187+
| groovy | 4.0.15 |
185188
{: style="width: 30%" }
186189

187190
## Perl support
188191

189-
* Default version on Xenial is `5.26.1`
190-
* Supported versions `5.22`, `5.24`, `5.26`, `5.28`, `5.30` and `5.32` can be installed by using the `perl:`-key.
192+
* Default version on Bionic is `5.33`
193+
* Supported versions `5.32` and `5.33` can be installed by using the `perl:`-key.
191194
* `TAP::Harness` v3.38 and `cpanm` (App::cpanminus) version 1.7044 are also pre-installed.
192195

193196
## PHP support
@@ -227,9 +230,9 @@ To use one in your build, add it to the services key in your `travis.yml` :
227230

228231
| service | version |
229232
|:-----------|:---------------|
230-
| mongodb | 4.19 |
231-
| mysql | 5.7.30 |
232-
| redis | 6.0.5 |
233+
| mongodb | 4.4.29 |
234+
| mysql | 5.7.42 |
235+
| redis | 7.2.5 |
233236
| postgresql | 9.3 9.4 9.5 9.6 10 11 |
234237
{: style="width: 30%" }
235238

user/reference/focal.md

Lines changed: 32 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,9 @@ dist: focal
3232
addons:
3333
apt:
3434
sources:
35-
- sourceline: 'ppa:chris-lea/redis-server'
35+
- sourceline: 'git-core/ppa'
3636
packages:
37-
- redis-tools
38-
- redis-server
37+
- git-ppa
3938
```
4039
{: data-file=".travis.yml"}
4140
@@ -49,8 +48,6 @@ If you depend on these repositories in your build, you can use the following `so
4948
| git-ppa | `ppa:git-core/ppa` |
5049
| haskell | `ppa:hvr/ghc` |
5150
| mongodb | `deb https://repo.mongodb.org/apt/ubuntu $(lsb_release -cs)/mongodb-org/4.4 multiverse` |
52-
| pollinate | `ppa:pollinate/ppa` |
53-
| redis | `ppa:chris-lea/redis-server` |
5451
{: style="width: 80%" }
5552

5653
### Services disabled by default
@@ -78,23 +75,23 @@ For preinstalled language interpreters, a standard version manager like `rvm` is
7875

7976
| package | version |
8077
|:--------|:---------|
81-
| git | `2.28.0` |
78+
| git | `2.45.2` |
8279
| git-lfs | `2.9.2` |
83-
| hg | `5.3` |
80+
| hg | `6.5.2` |
8481
| svn | `1.13.0` |
8582
{: style="width: 30%" }
8683

8784
### Compilers and Build toolchain
8885

8986
| package | version |
9087
|:--------|:---------|
91-
| clang | `7.0.0` |
92-
| llvm | `10.0.0` |
93-
| cmake | `3.16.8` |
94-
| gcc | `9.3.0` |
88+
| clang | `16.0.0` |
89+
| llvm | `18.0.0` |
90+
| cmake | `3.29.0` |
91+
| gcc | `9.4.0` |
9592
| ccache | `3.7.7` |
96-
| shellcheck | `0.7.0` |
97-
| shfmt | `2.6.3` |
93+
| shellcheck | `0.10.0` |
94+
| shfmt | `3.8.0` |
9895
{: style="width: 30%" }
9996

10097
To use the IBM Advance Toolchain v14 compilers under `ppc64le` architecture in Focal LXD image, use the following paths in your `.travis.yml`:
@@ -137,32 +134,33 @@ To use the IBM Advance Toolchain v14 compilers under `amd64` architecture in Foc
137134

138135
### Docker
139136

140-
* Docker `19.03.8` is installed.
141-
* docker-compose `1.25.1` is also available.
137+
* Docker `26.1.4` is installed.
138+
* docker-compose `2.27.1` is also available.
142139

143140
## Ruby support
144141

145-
* Pre-installed Rubies: `2.5.7`, `2.5.8`, `2.6.5`, `2.6.6`, `2.7.0` and `2.7.1`.
146-
* The default ruby is `2.7.1`.
142+
* Pre-installed Rubies: `2.5.9`, `2.7.6` and `3.3.0`.
143+
* The default ruby is `3.3.0`.
147144
* Other ruby versions can be installed during build time.
148145

149146
## Python support
150147

151-
* Supported Python version is: `3.6` or higher as `2.7` has been sunsetted.
152-
* Python `3.6.10` will be used by default when no language version is explicitly set.
148+
* Supported Python version is: `3.7` or higher as `2.7` has been sunsetted.
149+
* Python `3.7.17` will be used by default when no language version is explicitly set.
153150
* The following Python versions are preinstalled:
154151

155152
| alias | version |
156153
| :----- | :------- |
157-
| `3.6` | `3.6.10` |
154+
| `3.6` | `3.7.17` |
155+
| `3.8` | `3.8.18` |
156+
| `3.9` | `3.9.18` |
157+
| `3.12` | `3.12.0` |
158158
{: style="width: 30%" }
159159

160-
If you're getting errors about PyPy `pypy is not installed; attempting download`, use one of the more recent versions such as `PyPy3.6 v7.3.1`.
161-
162160
## JavaScript and Node.js support
163161

164-
* 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.35.3`.
165-
* The following NodeJS versions are preinstalled: `4.9.1`, `6.17.1`, `8.9`, `8.17.0`, `10.16.0`, `10.22.0`, `12.7.0` and `12.18.3`.
162+
* 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.7`.
163+
* The following NodeJS versions are preinstalled: `4.9.1`, `6.17.1`, `8.17.0`, `10.24.1`, `12.22.12`, `14.21.3`, `16.15`, `16.20.2`, `18.20.3` and `20.14.0`.
166164

167165
## Go support
168166

@@ -172,23 +170,23 @@ If you're getting errors about PyPy `pypy is not installed; attempting download`
172170

173171
## JVM (Clojure, Groovy, Java, Scala) support
174172

175-
* Pre-installed JVMs: `openjdk10`, and `openjdk11` on x86, default is `openjdk11`.
173+
* Pre-installed JVMs: `openjdk8`, `openjdk9`, `openjdk10`, and `openjdk11` on x86, default is `openjdk11`.
176174

177175
* Other JDKs, including Oracle's, can be acquired if available by specifying `jdk`.
178176

179177
* The following table summarizes the Pre-installed JVM tooling versions:
180178

181179
| package | version |
182180
|:--------|:--------|
183-
| gradle | `5.1.1` |
184-
| maven | `3.6.3` |
185-
| groovy | `2.4.5` |
181+
| gradle | `8.3` |
182+
| maven | `3.9.4` |
183+
| groovy | `3.0.17` |
186184
{: style="width: 30%" }
187185

188186
## Perl support
189187

190-
* Default version on Focal is `5.30.0`
191-
* Supported versions `5.22`, `5.24`, `5.26`, `5.28`, `5.30` and `5.32` can be installed by using the `perl:`-key.
188+
* Default version on Focal is `5.32.0`
189+
* Supported versions `5.32` and `5.33` can be installed by using the `perl:`-key.
192190
* `TAP::Harness` v3.42 and `cpanm` (App::cpanminus) version 1.7044 are also pre-installed.
193191

194192
## PHP support
@@ -208,10 +206,10 @@ To use one in your build, add it to the services key in your `travis.yml` :
208206

209207
| service | version |
210208
|:-----------|:---------------|
211-
| mongodb | `3.6.9` |
212-
| mysql | `8.0.21` |
213-
| redis | `6.0.6` |
214-
| postgresql | `13.13` |
209+
| mongodb | `4.4.29` |
210+
| mysql | `8.0.37` |
211+
| redis | `7.2.5` |
212+
| postgresql | `13.15` |
215213
{: style="width: 30%" }
216214

217215
## Other Ubuntu Linux Build Environments

user/reference/linux.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ layout: en
99
This page gives an overview of the different Ubuntu Linux distributions you can use as your CI environment.
1010

1111
You can choose one of the following distributions:
12-
* [Ubuntu Jammy 22.04](/user/reference/jammy/)
13-
* [Ubuntu Focal 20.04](/user/reference/focal/)
14-
* [Ubuntu Bionic 18.04](/user/reference/bionic/)
15-
* [Ubuntu Xenial 16.04](/user/reference/xenial/) **default**
16-
* [Ubuntu Trusty 14.04](/user/reference/trusty/)
17-
* [Ubuntu Precise 12.04](/user/reference/precise/)
12+
* [Ubuntu Jammy 22.04](/user/reference/jammy/) **recommended**
13+
* [Ubuntu Focal 20.04](/user/reference/focal/) **recommended**
14+
* [Ubuntu Bionic 18.04](/user/reference/bionic/) *deprecation warning, will be available for some time more*
15+
* [Ubuntu Xenial 16.04](/user/reference/xenial/) **default** *deprecation warning: by end of 2024*
16+
* [Ubuntu Trusty 14.04](/user/reference/trusty/) *deprecation warning: by end of 2024*
17+
* [Ubuntu Precise 12.04](/user/reference/precise/) *deprecated*
1818

1919
## Using Ubuntu Linux distributions
2020

user/reference/precise.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ redirect_from:
77
- /user/workers/standard-infrastructure/
88
---
99

10-
> Precise is EOL by Canonical, try updating to a newer image and see our [Precise to Trusty Migration Guide](/user/precise-to-trusty-migration-guide) and [Trusty to Xenial Migration Guide](/user/trusty-to-xenial-migration-guide).
10+
> Precise is EOL by Canonical, try updating to a newer image. It is considered as deprecated build envrionment in Travis CI and not supportted with any updates.
11+
> Past guides, for reference: [Precise to Trusty Migration Guide](/user/precise-to-trusty-migration-guide) and [Trusty to Xenial Migration Guide](/user/trusty-to-xenial-migration-guide).
1112
1213
### What This Guide Covers
1314

user/reference/trusty.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ redirect_from:
66
- /user/workers/standard-infrastructure/
77
---
88

9-
> Trusty is EOL by Canonical, try updating to a newer image and see our [Trusty to Xenial Migration Guide](/user/trusty-to-xenial-migration-guide).
9+
> Trusty is EOL by Canonical, try updating to a newer image. All work in Travis CI over updates to Trusty images is ceased with end of calendar year 2024 and we consider it being deprecated.
10+
> You may see our [Trusty to Xenial Migration Guide](/user/trusty-to-xenial-migration-guide) as an interim step in update, yet please note Xenial LTS is also EOL already. More up to date image is strongly recommended.
1011
1112
## What This Guide Covers
1213

user/reference/xenial.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ title: The Xenial Build Environment
33
layout: en
44
---
55

6+
> Xenial LTS Standard is EOL by Canonical, try updating to a newer image. All work in Travis CI over updates to Xenial images is ceased with end of calendar year 2024 and we consider it being deprecated.
7+
68
## What This Guide Covers
79

810
This guide provides an overview of the packages, tools and settings available in the Xenial environment.

0 commit comments

Comments
 (0)