diff --git a/.travis.yml b/.travis.yml index 2038d8ecc81ce319906b66333458eb6eda9afc30..60f77ff85f5503166ca9433c0569e3679369cf99 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,14 @@ go: - "1.12" env: - - GO111MODULE=on + - GO111MODULE=on CONSUL_VERSION=0.9.2 + +before_install: + - curl -sLo consul.zip https://releases.hashicorp.com/consul/${CONSUL_VERSION}/consul_${CONSUL_VERSION}_linux_amd64.zip + - unzip consul.zip + - mkdir -p ~/bin + - mv consul ~/bin + - export PATH="~/bin:$PATH" install: true