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

Commit c26be95

Browse files
committed
Try to fix Travis build
1 parent 8b73e9d commit c26be95

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

.travis.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,19 @@
1818
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
1919
# IN THE SOFTWARE.
2020

21-
language: node_js
2221
sudo: false
2322

24-
# Node.js version
25-
node_js: 8
26-
2723
# Limit clone depth to 5, to speed up build
2824
git:
2925
depth: 5
3026

31-
# Build script
27+
# Install Terraform
28+
install:
29+
- curl -fSL "https://releases.hashicorp.com/terraform/0.11.11/terraform_0.11.11_linux_amd64.zip" -o terraform.zip
30+
- sudo unzip terraform.zip -d /opt/terraform
31+
- sudo ln -s /opt/terraform/terraform /usr/bin/terraform
32+
- rm -f terraform.zip
33+
34+
# Perform Terraform validation
3235
script:
33-
- terraform fmt -check -diff
36+
- terraform validate -check-variables=false

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
[github-image]: https://img.shields.io/github/release/squidfunk/terraform-aws-github-ci.svg
1212
[github-link]: https://github.com/squidfunk/terraform-aws-github-ci/releases
1313

14-
# [DEPRECATED] Terraform AWS GitHub CI
14+
# Terraform AWS GitHub CI
1515

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

0 commit comments

Comments
 (0)