Skip to content

Commit

Permalink
Merge pull request #15 from KenFigueiredo/add-travis-integration
Browse files Browse the repository at this point in the history
Add travis integration
  • Loading branch information
massdosage authored Jan 21, 2020
2 parents 16b072d + d465078 commit 322712f
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
dist: bionic

env:
- TERRAFORM_DIR=main
- TERRAFORM_DIR=lambda

# Install terraform
before_install:
- curl -sLo /tmp/terraform.zip https://releases.hashicorp.com/terraform/0.12.19/terraform_0.12.19_linux_amd64.zip
- unzip /tmp/terraform.zip -d /tmp
- mkdir -p ~/bin
- mv /tmp/terraform ~/bin
- export PATH="~/bin:$PATH"
- export TF_INPUT=false
- export AWS_DEFAULT_REGION="us-east-1"

script:
- cd $TERRAFORM_DIR
- terraform init
- terraform validate

0 comments on commit 322712f

Please sign in to comment.