Last active
March 23, 2017 08:10
-
-
Save grdnrio/78784a918a03abafac200aca8e9bcc9d to your computer and use it in GitHub Desktop.
Travis file for verifying YAML CFTs
This file contains hidden or 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
| language: ruby | |
| git: | |
| submodules: false | |
| before_install: | |
| - echo "Installing test gems" | |
| - gem install yaml-lint | |
| # skip install step | |
| install: true | |
| script: | |
| - yaml-lint cloudformation/my-template.yml | |
| after_success: | |
| - echo "Test Success - Branch($TRAVIS_BRANCH) Pull Request($TRAVIS_PULL_REQUEST) Tag($TRAVIS_TAG)" | |
| - echo "Cloud Formation Template YAML validated" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment