Skip to content

Commit

Permalink
Travis Validation Failures (widdix#114)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwittig authored Sep 1, 2017
1 parent 8574eff commit e107bf3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ install:
- 'pip install yamllint'
- 'pip install awscli'
script:
- 'yamllint . && find . -type f -name ''*.y?ml'' -exec aws cloudformation validate-template --template-body file://{} \;'
- 'yamllint .'
- 'find . -type f -name ''*.y?ml'' | while read file; do set -ex && aws s3 cp "$file" "s3://travis-aws-cf-templates/$TRAVIS_COMMIT/$file" && aws cloudformation validate-template --template-url "https://s3.amazonaws.com/travis-aws-cf-templates/$TRAVIS_COMMIT/$file" > /dev/null; done'

0 comments on commit e107bf3

Please sign in to comment.