travis-ci / travis-yaml

parses, normalizes, validates and serializes your .travis.yml
http://yaml.travis-ci.org/
MIT License
170 stars 66 forks source link

array values in `language:` and `dist:` keys are reported as valid #94

Open MariadeAnton opened 8 years ago

MariadeAnton commented 8 years ago

language: and dist: keys should be listed as single values rather than in an array

This works:

language: cpp
dist: trusty

This fails due to an error parsing the .travis.yml file

language: 
  - cpp

dist: 
  - trusty

but both are reported as valid by lint

cc/ @bblacey