dist: trusty
sudo: false

language: go

go:
  - 1.8

env:
  - GOMAXPROCS=4

branches:
  only:
    - master

env:
  - CONSUL_VERSION=0.8.2

before_install:
  - curl -sLo consul.zip https://releases.hashicorp.com/consul/${CONSUL_VERSION}/consul_${CONSUL_VERSION}_linux_amd64.zip
  - unzip consul.zip
  - mkdir ~/bin
  - mv consul ~/bin
  - export PATH="~/bin:$PATH"

script: make test

dist: trusty
sudo: false

language: go

go:
  - 1.8

env:
  - GOMAXPROCS=4

branches:
  only:
    - master

env:
  - CONSUL_VERSION=0.8.4

before_install:
  - curl -sLo consul.zip https://releases.hashicorp.com/consul/${CONSUL_VERSION}/consul_${CONSUL_VERSION}_linux_amd64.zip
  - unzip consul.zip
  - mkdir ~/bin
  - mv consul ~/bin
  - export PATH="~/bin:$PATH"

script: make test

Update Consul version on Travis
Update Consul version on Travis
