language: ruby
cache: bundler
sudo: false

before_install: |-
  wget -O vault.zip -q https://releases.hashicorp.com/vault/0.4.0/vault_0.4.0_linux_amd64.zip
  unzip vault.zip
  mkdir ~/bin
  mv vault ~/bin
  export PATH="~/bin:$PATH"

branches:
  only:
    - master

rvm:
  - 1.9.3
  - 2.0
  - 2.1
  - 2.2

language: ruby
cache: bundler
sudo: false

before_install: |-
  wget -O vault.zip -q https://releases.hashicorp.com/vault/0.5.0-rc1/vault_0.5.0-rc1_linux_amd64.zip
  unzip vault.zip
  mkdir ~/bin
  mv vault ~/bin
  export PATH="~/bin:$PATH"

branches:
  only:
    - master

rvm:
  - 1.9.3
  - 2.0
  - 2.1
  - 2.2

Test against Vault 0.5 RC
Test against Vault 0.5 RC