Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

Commit

Permalink
[minor] chore: add make test recipe, use make test in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
fquffio committed Mar 21, 2019
1 parent 7d29d4a commit 886e02d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
sudo: false

language: python
language: 'python'

install:
- 'pip install awscli'

script:
- 'for template in $(ls *.yml); do aws cloudformation validate-template --template-body file://$template; done'
- 'make test'

before_deploy:
- 'mkdir -p templates'
Expand Down
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
.PHONY: list-instance-types list-latest-amis
.PHONY: list-instance-types list-latest-amis test

test:
@for template in $$(ls *.yml); do \
aws cloudformation validate-template --template-body file://$$template; \
done

list-instance-types:
@instance_types=$$( \
Expand Down

0 comments on commit 886e02d

Please sign in to comment.