language: ruby
rvm:
  - 2.4.0
  - 2.2
  - 2.0

env:
  global:
    - ETCD_VERSION=v3.1.6

install:
    - bundle install
    - wget https://github.com/coreos/etcd/releases/download/$ETCD_VERSION/etcd-$ETCD_VERSION-linux-amd64.tar.gz -O etcd.tar.gz --no-check-certificate
    - tar zxvf etcd.tar.gz
    - export PATH=$PATH:etcd-$ETCD_VERSION-linux-amd64

script: bundle exec rspec

language: ruby
rvm:
  - 2.4.0
  - 2.2
  - 2.0

env:
  global:
    - ETCD_VERSION=v3.2.0

install:
    - bundle install
    - wget https://github.com/coreos/etcd/releases/download/$ETCD_VERSION/etcd-$ETCD_VERSION-linux-amd64.tar.gz -O etcd.tar.gz --no-check-certificate
    - tar zxvf etcd.tar.gz
    - export PATH=$PATH:etcd-$ETCD_VERSION-linux-amd64

script: bundle exec rspec

Build etcdv3 with version 3.2
Build etcdv3 with version 3.2
