问题
I have this dead simple .travis.yml for a java project. When i run 'travis-lint' against the file is complains
[17:24:23@emeraldjava]$ travis-lint
/Users/pauloconnell/projects/emeraldjava/.travis.yml has issues:
Found an issue with the `language:` key:
Language must be valid
Any ideas?
My build actually works once deployed out.
回答1:
Until the problem is resolved with the command line tool, and as @joshua-anderson proposed, use the web linter http://lint.travis-ci.org/.
Simply copy/paste your .travis.yml
file's content their (or use your github repository directly like emeraldjava/emeraldjava
) and hit validate.
来源:https://stackoverflow.com/questions/22581057/travis-lint-why-does-it-complain-about-java-language-field