Travis builds failing due to discrepancy between worker instance and dist version

Hi, since some hours ago my builds are failing at Travis but I didn’t change the script.

I was not forcing a dist so, until some hours ago, my builds were being executed under a trusty dist.
Now, by default, they were being executed by a xenial dist. but they are being loaded in a precise worker instance

instance: travis-job-a0d3c4b9-5d9c-47f1-948e-b5db6b1eca91 precise-android-stable-alternative (via amqp)

Build language: android
Build group: stable
Build dist: xenial
Build id: 115271419
Job id: 207453270
Runtime kernel version: 3.13.0-100-generic
travis-build version: 302943c40
e[34me[1mBuild image provisioning date and timee[0m
Thu Nov 10 02:43:40 UTC 2016
e[34me[1mOperating System Detailse[0m
Distributor ID: Ubuntu
Description: Ubuntu 12.04.5 LTS
Release: 12.04
Codename: precise

@Nescafemix Sorry for the troubles. This was caused by our migration to Xenial. See https://blog.travis-ci.com/2019-04-15-xenial-default-build-environment.

Can you try adding dist: trusty to your .travis.yml file and let us know if it helps?

Thanks!

yes, it is working with trusty, thanks.
When the migration will be finished? Should it work as expected with Xenial then?

Thank you for answering so quickly :slight_smile:

Glad to hear it worked!

We are looking at supporting Android builds on Xenial but we don’t have an ETA at this time.