Travis

The Ubuntu 18.04 Build Environment

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. Additionally, Bionic won’t be receiving any new updates.

What This Guide Covers #

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

Using Ubuntu 18.04 (Bionic Beaver) #

To route your builds to Ubuntu 18.04 LTS, Bionic, add the following to your .travis.yml:

dist: bionic

Environment Common to All Ubuntu 18.04 Images #

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.

Version Control #

Package Version
git 2.43.0
git-lfs 2.3.4
hg 5.3
svn 1.9.7

Compilers and Build Toolchain #

Tool Version
clang 18.1.8
cmake 3.26.3
gcc 7.5.0
ccache 3.4.1
ShellCheck 0.10.0
shfmt 3.8.0

Docker and Container Tools #

Package Version
Docker 24.0.2 (build cb74dfc)
docker-compose v2.20.3
Podman 3.4.2

Ruby Support #

  • Pre-installed Ruby:
    • ruby 3.3.5
  • Other Ruby versions (e.g., 2.7.x, 3.1.x) can be installed during build time.

Python Support #

  • Supported Python versions: 3.6 or higher.

The following Python versions are directly callable:

Alias Version
3.6 3.6.9
3.7 3.7.17
3.8 3.8.18
3.12