From d70dc25bd2debda0cfbf0cfb222d4fb58cbdd57c Mon Sep 17 00:00:00 2001 From: Tony Date: Tue, 5 Nov 2019 14:14:32 +0800 Subject: [PATCH] fix zk name --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 31533d606..342a9adbf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -30,8 +30,8 @@ before_install: - chmod +x docker-compose - sudo mv docker-compose /usr/local/bin # zookeeper - - wget "http://apache.cs.utah.edu/zookeeper/zookeeper-${ZK_VERSION}/zookeeper-${ZK_VERSION}.tar.gz" - - tar -xvf "zookeeper-${ZK_VERSION}.tar.gz" + - wget "http://apache.cs.utah.edu/zookeeper/zookeeper-${ZK_VERSION}/apache-zookeeper-${ZK_VERSION}.tar.gz" + - tar -xvf "apache-zookeeper-${ZK_VERSION}.tar.gz" # Skip the install step. Don't `go get` dependencies. Only build with the code # in vendor/ @@ -47,7 +47,7 @@ before_script: - curl -sfL https://raw.githubusercontent.com/bilibili/discovery/master/cmd/discovery/discovery-example.toml -o $GOPATH/bin/discovery.toml - nohup bash -c "$GOPATH/bin/discovery -conf $GOPATH/bin/discovery.toml &" # zookeeper - - ./zookeeper-${ZK_VERSION}/bin/zkServer.sh start ./zk/conf/zoo_sample.cfg 1> /dev/null + - ./apache-zookeeper-${ZK_VERSION}/bin/zkServer.sh start ./zk/conf/zoo_sample.cfg 1> /dev/null script: - go build ./...