Include another yaml file from .travis.yml?

With RuboCopthis behavior it is possible in your file .rubocop.yml:

inherit_from:
    - path/to/some/other.yml

And it's nice to create general rules. But what about files .travis.yml?

Does Travis CI have a keyword .travis.ymlto include a perpetual file yml?

I read about the various problems of using yamlinherent behavior; inherit_from:seems to be a RuboCopspecific keyword and handler. I do not exclude that this can be handled by myself yaml, but I would prefer to use the approach Travis CI, if any. I do not think this is pure yaml, but I am not sure.

I looked at the same approach demonstrated .rubocop.ymlfor .travis.yml, but don't see a definite answer on how to do this. Is it possible?

How can one file .travis.ymlbe included in another?

+4
source share

All Articles