Created
June 20, 2018 15:57
-
-
Save zeedark/3a3c6c666de9d53a04f6f88951fbc97f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Source: | |
# https://stackoverflow.com/questions/3971822/how-do-i-validate-my-yaml-file-from-command-line | |
$ ruby -e "require 'yaml';puts YAML.load_file('some-file.yaml')" | |
$ perl -MYAML -e 'use YAML;YAML::LoadFile("./file.yaml")' | |
$ python -c "from yaml import load, Loader; load(open('.travis.yml'), Loader=Loader)" | |
$ travis lint .travis.yml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment