Erlang force Xenial, but documentation has list Bionic Erlang version

https://docs.travis-ci.com/user/languages/erlang/ lists Erlang version for Xenial and Bionic.
But specifying language: erlang forces the distribution to Xenial. Even a dist bionic can not change that.

Could this be changed, please?

Hey @RoadRunner,

Would it be possible to see your build instructions, and some of your build log? This would be extremely helpful for me to diagnose the situation.

-Montana

Hi @Montana,

Sample build and config is here: https://travis-ci.com/travelping/ergw/jobs/290409385

Even the log states that the desired version is Bionic:

Build dist: bionic

But Xenial is then used:

Operating System Details
Distributor ID:	Ubuntu
Description:	Ubuntu 16.04.6 LTS
Release:	16.04
Codename:	xenial
...
Downloading archive: https://storage.googleapis.com/travis-ci-language-archives/erlang/binaries/ubuntu/16.04/x86_64/erlang-21.3.8.22-nonroot.tar.bz2

The desired Erlang version was available to Bionic but not for Xenial. That cause the build to abort.

The build image routing issue should be fixed now; your job should get the bionic image if you restart it. However, there is no OTP/Release “21.3.8.22” (you probably mean “20.3.8.22”) so that would fail.

I actually did mean 21.3.8.1, however it seems that there is no 21.3.x version available on Xenial.

It is there for Trusty. Was it an oversight that 21.3.x is not build for Xenial?

Please consult

@BanzaiMan

I mixed up Xenial and Bionic. So let’s try again, there is Erlang 21.3.x on 14.04 and 16.04, but not on 18.04. Is that an accident or intended?