Open cdeil opened 7 years ago
The error on the line 175 alters the parser's expectation of the data structure that starts on line 158.
Unfortunately, our YAML parser stops parsing the file upon the first error.
http://yaml-online-parser.appspot.com/, which uses the pyyaml, shows the same error, and also the one on line 175. I am not familiar with yamllint, but https://pypi.python.org/pypi/yamllint says that it is not a validator.
Thanks for the quick reply! I just thought I'd mention it. Feel free to close if there's nothing you can do here with reasonable effort.
I have this case: https://travis-ci.org/gammapy/gammapy/builds/230082206?utm_source=github_status&utm_medium=notification saying
But really there's no problem on that line and it's a SyntaxError further down on line 175, no?
Can you make travis-yaml give a better message here pointing to the actual line with the issue?
Test file is here: https://github.com/bsipocz/gammapy/blob/41e3a3e184ef799346051b7758fee5627f309518/.travis.yml and copy here: https://gist.github.com/cdeil/59ae0750fa1a26378e9ed10271b50162