I’m curious about the same thing. I’ve been using imports successfully in a number of projects, but have not found success with projects that define stages. I tried importing into a single stage, expecting that it would just work, but it does not get processed: https://travis-ci.org/travi-org/matt.travi.org-components/builds/625381469/config
I’ve tested that travis-yml (the app that implements build config validation and importing) crashes when you try to import at job level.
So currently, you can only import at global level.
And since jobs are a list, with existing merge modes, it’s impossible to change its entries, only prepend/append new ones or overwrite the existing list a a whole.
yep, this is the real kicker. while it would be inconvenient to have separate shareable configs for builds with stages vs not, but even that isn’t possible.