Hleb
Hleb

Reputation: 7371

Validation travis.yml file locally

Are there any tools (CLI or with GUI) for validation travis.yml file locally at my computer without the need of pushing it? Maybe there are some plugins for text editors or other approaches to solve this problem?

Upvotes: 18

Views: 4204

Answers (1)

user5476252
user5476252

Reputation:

For validation of your .travis.yml without push it you can:

To install (documentation):

$ gem install travis --no-document

To run the command line lint tool:

 $ travis lint [path to your .travis.yml]

Upvotes: 23

Related Questions