Skip to content

Commit

Permalink
use tfexec for test binary
Browse files Browse the repository at this point in the history
  • Loading branch information
kmoe committed Sep 29, 2020
1 parent b4380ae commit 0f48e12
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 0f48e12

Please sign in to comment.