Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

travis-ci

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.

like image 602
emeraldjava Avatar asked Nov 10 '22 10:11

emeraldjava


1 Answers

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.

like image 86
Matt Avatar answered Jan 04 '23 03:01

Matt