Requesting Xenial, getting Trusty instead

Example build config: https://travis-ci.org/dewf/opendl/jobs/525232727/config (have also tried without os: specified, just dist:)

Additional info: If I remove the matrix (that I’m using to have separate settings for linux and mac), then it works fine. ie, if I take those same settings and use them for a linux-only config, then it gives me xenial as requested.

Hey @dewf, sorry for the confusion here.

I think this is happening because you are specifying a language that’s unknown to Travis CI i.e. language: c++. Could you try with language: cpp instead? See https://docs.travis-ci.com/user/languages/cpp.

Take note that we’ve filed an internal issue to respect the dist: value when an unknown language is specified.

Hope this helps!

That did the trick. Thank you so much!

Glad to hear it!

Closing this topic for now but please don’t hesitate to open new one if there’s anything else we can help you with.

Happy building!

Imprint