Explicitly included jobs are being excluded?


We’re building branches and PRs on three platforms: macOS, Linux with gcc 6 and Linux with gcc 7.

For three days now, both Linux builds are no longer being executed:

Any idea?

We’ve simplified our .travis.yml file and it looks like it’s working now:

Was our issue that we were both including and excluding Linux builds, and that the outcome was somehow implementation-defined (and something in the infrastructure changed three days ago)?

Yes, your exclude: clauses exclude all Linux jobs. Previously, it had no effect on explicitly included jobs and now, it has.

It’s actually undocumented in https://docs.travis-ci.com/user/build-matrix/ whether include: or exclude: takes precedence. So yes,

Awesome, thanks for the info!