travis-lint:为什么它会抱怨 Java 语言领域 [英] travis-lint: why does it complain about java language field
本文介绍了travis-lint:为什么它会抱怨 Java 语言领域的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个非常简单的 .travis.yml 用于 Java 项目.当我对文件运行 'travis-lint' 时抱怨
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
有什么想法吗?
我的构建在部署后实际上可以工作.
My build actually works once deployed out.
推荐答案
直到使用命令行工具解决问题,并按照@joshua-anderson 的建议,使用 web linter http://lint.travis-ci.org/.
Until the problem is resolved with the command line tool, and as @joshua-anderson proposed, use the web linter http://lint.travis-ci.org/.
只需复制/粘贴您的 .travis.yml
文件的内容(或直接使用您的 github 存储库,如 emeraldjava/emeraldjava
)并点击验证.
Simply copy/paste your .travis.yml
file's content their (or use your github repository directly like emeraldjava/emeraldjava
) and hit validate.
这篇关于travis-lint:为什么它会抱怨 Java 语言领域的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文