Search code examples
validationyamltravis-ci

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?


Solution

  • 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]