Xenial Build Containers for Enterprise (beta)
System Setup #
Platform Requirements: To use the Xenial build containers, the Travis CI installation must be at 2.2.6 or higher. Please be sure to upgrade, if needed, before getting started.
We recommend using a machine with 8 vCPUs and 15 GB of memory and at least 40 GB of disk space. If you’re using AWS, that will be their c4.2xlarge instance type. Also, you’ll want to run Ubuntu 16.04 or later. Port 22 must be open for SSH during installation and operation.
Trusty and Xenial build containers must be on different instances. To run both Trusty and Xenial builds, at least two worker instances are required.
Differences from the Trusty Build Environment #
Third party apt-repositories are removed to help reduce risk of unrelated interference and allow for faster apt-get updates.
Services disabled by default to speed up boot time and improve performance.
Installation with Travis CI Enterprise 2.2.6 and later #
On a new server, please run the commands below to install the Xenial build environment:
$ curl -sSL -o /tmp/installer.sh https://raw.githubusercontent.com/travis-ci/travis-enterprise-worker-installers/master/installer.sh $ sudo bash /tmp/installer.sh \ --travis_enterprise_host="[travis.yourhost.com]" \ --travis_enterprise_security_token="[RabbitMQ Password/Enterprise Security Token]" \ --travis_build_images=xenial
After installation, or when configuration changes are applied to the worker, restart the worker as follows:
$ sudo systemctl restart travis-worker
Worker configuration changes are applied on start.
Running Builds in the Xenial Build Environment #
To run a project’s builds in the new Xenial build environment, please add a
dist: xenial to your
Contact Enterprise Support #
To get in touch with us, please write a message to firstname.lastname@example.org. If possible, please include as much of the following as you can:
- Description of the problem - what are you observing?
- Which steps did you try already?
- A support bundle (see table below on how to obtain it)
- Log files from all workers (They can be found at
/var/log/upstart/travis-worker.log- please include as many as you can retrieve).
- If a build failed or errored, a text file of the build log
|TCI Enterprise version||Support bundle|
Support bundle generation instruction is available in ‘troubleshoot’ menu or directly at:
A command for generating support bundle will appear after selecting:
|2.x+||You can get it from
Since the announcement in Q3 2020, the most up to date version of Travis CI Enterprise is 3.x line. There are not any new releases for version 2.2 and the support patches has been limited since March 2021 as well. For existing users of Travis CI 2.x we strongly recommend upgrading to the latest Travis CI Enterprise 3.x.
Have you made any customizations to your setup? While we may be able to see some information (such as hostname, IaaS provider, and license expiration), there are many other things we cannot see which could lead to something not working. Therefore, we would like to ask you to also answer the questions below in your support request (if applicable):
- How many machines are you using / what is your Kubernetes cluster setup?
- Do you use configuration management tools (Chef, Puppet)?
- Which other services do interface with Travis CI Enterprise?
- Which Version Control system (VCS) do you use together with Travis CI Enterprise (e.g. github.com, GitHub Enterprise, or BitBucket Cloud)?
- If you are using GitHub Enterprise, which version of it?
We are looking forward to helping!