Skip to content
This repository has been archived by the owner on Apr 18, 2020. It is now read-only.

Commit

Permalink
Try to fix Travis build
Browse files Browse the repository at this point in the history
  • Loading branch information
squidfunk committed Dec 26, 2018
1 parent 8b73e9d commit c26be95
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
15 changes: 9 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,19 @@
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.

language: node_js
sudo: false

# Node.js version
node_js: 8

# Limit clone depth to 5, to speed up build
git:
depth: 5

# Build script
# Install Terraform
install:
- curl -fSL "https://releases.hashicorp.com/terraform/0.11.11/terraform_0.11.11_linux_amd64.zip" -o terraform.zip
- sudo unzip terraform.zip -d /opt/terraform
- sudo ln -s /opt/terraform/terraform /usr/bin/terraform
- rm -f terraform.zip

# Perform Terraform validation
script:
- terraform fmt -check -diff
- terraform validate -check-variables=false
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
[github-image]: https://img.shields.io/github/release/squidfunk/terraform-aws-github-ci.svg
[github-link]: https://github.com/squidfunk/terraform-aws-github-ci/releases

# [DEPRECATED] Terraform AWS GitHub CI
# Terraform AWS GitHub CI

> This project has been deprecated, as AWS CodeBuild now natively supports
> automatic builds on new commits and reports status back to GitHub. However,
Expand Down

0 comments on commit c26be95

Please sign in to comment.