Skip to content

Commit

Permalink
test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
wr0ngway committed Feb 4, 2020
1 parent 771ab07 commit 7f60423
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,28 @@
sudo: false
language: ruby
cache: bundler
services:
- docker

rvm:
- 2.3
- 2.4
- 2.5
- 2.6

before_install:
- git clone https://github.com/tfutils/tfenv.git ~/.tfenv
- export PATH="$HOME/.tfenv/bin:$PATH"
- tfenv install $TFVER
- terraform --version
- gem update --system
- gem install bundler
- curl -sL https://releases.hashicorp.com/terraform/0.11.7/terraform_0.11.7_linux_amd64.zip > terraform.zip
- unzip terraform.zip
- mv terraform bin/
- export PATH=$PATH:$PWD/bin/
- terraform --version
- git --version

jobs:
include:
- rvm: 2.3
env: TFVER=0.11.7
- rvm: 2.3
env: TFVER=latest
- rvm: 2.6
env: TFVER=latest
- rvm: 2.7
env: TFVER=latest

script: bundle exec rspec spec

before_deploy:
Expand Down

0 comments on commit 7f60423

Please sign in to comment.