user go 1.14.1 and consul 1.7.2 on travis
MODIFY
.travis.yml
.travis.yml
@@ -5,10 +5,10 @@ rvm:
- 2.6.5
before_script:
- sudo rm -rf /usr/local/go
- - curl -s https://dl.google.com/go/go1.12.7.linux-amd64.tar.gz | sudo tar xzCf /usr/local -
+ - curl -s https://dl.google.com/go/go1.14.1.linux-amd64.tar.gz | sudo tar xzCf /usr/local -
- export GOROOT=/usr/local/go
- export PATH=/usr/local/go/bin:$PATH
- - curl -s https://releases.hashicorp.com/consul/1.5.2/consul_1.5.2_linux_amd64.zip >/tmp/consul.zip; sudo unzip -d /usr/local/bin /tmp/consul.zip; sudo chmod 755 /usr/local/bin/consul
+ - curl -s https://releases.hashicorp.com/consul/1.7.2/consul_1.7.2_linux_amd64.zip >/tmp/consul.zip; sudo unzip -d /usr/local/bin /tmp/consul.zip; sudo chmod 755 /usr/local/bin/consul
- "consul agent -dev -node machine >/tmp/consul.log 2>&1 &"
script: "make && make test && (bundle exec rake || (tail -n 50 tmp/*.{log,output}; false))"
services:

user go 1.14.1 and consul 1.7.2 on travis