Imported anchors not working

This is not supported. Anchors and aliases are an internal detail in YAML 1.1 – when a YAML is parsed, all aliases are expanded using corresponding anchors and neither are present in the parse result.

Travis combines parse trees rather than raw text (since it needs to parse the file to find out whether it needs to import anything) so it cannot do anything about anchors at that point.

2 Likes