Why are jobs.include not run in the correct order?


#1

Hi,

We have a .travis.yml file that creates a number of jobs in the include section:

We put the jobs in a certain order, for visual consistency (PHP version, driver, database version), but Travis does not run them in this exact order:

https://travis-ci.org/doctrine/dbal/builds/461355844

For example, you can see that some PHP 7.1 jobs have been moved in-between PHP 7.3 jobs.

Is this a bug? Or did I miss a way to enforce this order?

Thanks in advance,
Ben


#2

Hello, there.

Indeed, we push jobs that are allowed to fail to the end of the stage, so that required jobs tend to (there is no guarantee) be executed first, so that the result is known earlier rather than later. This happens silently without any visual cues.