Skip to content

Travis: explicitly use Ubuntu Trusty for builds

Marek Szuba requested to merge travis_force_trusty into master

Created by: mkszuba

Use case

Make sure we are not affected by the ongoing change of the default Travis build environment from Ubuntu Trusty to Ubuntu Xenial, for which we are not ready yet, by explicitly requesting the former.

Description

It has turned out that in spite of what the Travis documentation says, perl-5.14 is not available under the Xenial environment on Travis. We still require compatibility with that Perl version so it is necessary for us to make sure we continue to use Trusty even after the default Travis environment has been changed to Xenial, a change that is now in progress following the end of life of Ubuntu Trusty (see https://blog.travis-ci.com/2019-04-15-xenial-default-build-environment).

Possible Drawbacks

Ubuntu Trusty has already reached end of life.

Testing

Have you added/modified unit tests to test the changes?

No, changes affect Travis only.

If so, do the tests pass/fail?

N/A

Have you run the entire test suite and no regression was detected?

No, changes affect Travis only.

Merge request reports