Skip to content

Commit fde991e

Browse files
authored
Merge pull request #3 from getcft/release-1.0
Adding Tests
2 parents c5a809f + ad5776d commit fde991e

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

.travis.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
language: ruby
2+
3+
git:
4+
submodules: false
5+
6+
env:
7+
global:
8+
- AWS_DEFAULT_REGION=us-east-2
9+
10+
before_install:
11+
- echo "Installing AWS CLI"
12+
- pip install --upgrade --user awscli
13+
- echo "Installing test gems"
14+
- gem install yaml-lint
15+
16+
install: true
17+
18+
script:
19+
- aws cloudformation validate-template --template-body file://encrypted-dynamodb-cf-template.yml
20+
- yaml-lint encrypted-dynamodb-cf-template.yml
21+
22+
after_success:
23+
- echo "Test Success - Branch($TRAVIS_BRANCH) Pull Request($TRAVIS_PULL_REQUEST) Tag($TRAVIS_TAG)"
24+
- echo "Cloudformation template validated"
25+
- echo "YAML linted"

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# aws-encrypted-dynamodb-cf-template
2+
[![Build Status](https://travis-ci.org/getcft/aws-encrypted-dynamodb-cf-template.svg?branch=master)](https://travis-ci.org/getcft/aws-encrypted-dynamodb-cf-template)
23

34
## Description:
45

0 commit comments

Comments
 (0)