dist: trusty
sudo: false
language: ruby
cache: bundler

env:
  - VAULT_VERSION=0.8.3
  - VAULT_VERSION=0.7.3
  - VAULT_VERSION=0.6.5
  - VAULT_VERSION=0.5.3

before_install:
  - curl -sLo vault.zip https://releases.hashicorp.com/vault/${VAULT_VERSION}/vault_${VAULT_VERSION}_linux_amd64.zip
  - unzip vault.zip
  - mkdir -p ~/bin
  - mv vault ~/bin
  - export PATH="~/bin:$PATH"

branches:
  only:
    - master

rvm:
  - 2.2
  - 2.3
  - 2.4

dist: trusty
sudo: false
language: ruby
cache: bundler

env:
  - VAULT_VERSION=0.11.4
  - VAULT_VERSION=0.10.4
  - VAULT_VERSION=0.9.6
  - VAULT_VERSION=0.8.3
  - VAULT_VERSION=0.7.3
  - VAULT_VERSION=0.6.5
  - VAULT_VERSION=0.5.3

before_install:
  - curl -sLo vault.zip https://releases.hashicorp.com/vault/${VAULT_VERSION}/vault_${VAULT_VERSION}_linux_amd64.zip
  - unzip vault.zip
  - mkdir -p ~/bin
  - mv vault ~/bin
  - export PATH="~/bin:$PATH"

branches:
  only:
    - master

rvm:
  - 2.2
  - 2.3
  - 2.4

Add recent Vault releases to test matrix.
Add recent Vault releases to test matrix.
