travis-lint: why does it complain about java language field

佐手、 提交于 2019-12-10 14:00:07

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!