From 0f48e1213289c0e7e727a15613ad7f81a8c92524 Mon Sep 17 00:00:00 2001 From: Katy Moe Date: Tue, 29 Sep 2020 17:21:13 +0100 Subject: [PATCH] use tfexec for test binary --- .travis.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index fbd8b2d3..827e09e5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,10 +4,10 @@ services: - docker language: go go: - - "1.14.x" + - stable - tip env: - - GO111MODULE=on GOFLAGS=-mod=vendor TF_VERSION=0.12.20 + - GO111MODULE=on GOFLAGS=-mod=vendor install: # This script is used by the Travis build to install a cookie for @@ -16,12 +16,6 @@ install: # See: https://github.com/golang/go/issues/12933 - bash scripts/gogetcookie.sh -before_script: - - curl -fSL "https://releases.hashicorp.com/terraform/${TF_VERSION}/terraform_${TF_VERSION}_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 - script: - make test - make testacc