grdnrio
3/23/2017 - 8:08 AM

Travis file for verifying YAML CFTs

Travis file for verifying YAML CFTs

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"