File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424parts /
2525share /
2626site-packages /
27+ zookeeper /
2728.coverage
2829.idea
2930.pip_cache
Original file line number Diff line number Diff line change 1+ sudo : false
2+
3+ cache :
4+ directories :
5+ - $HOME/.cache/pip
6+ - zookeeper
7+
18language : python
29python :
310 - " 2.7"
@@ -39,9 +46,6 @@ matrix:
3946notifications :
4047 email : false
4148
42- before_install :
43- - sudo apt-get install libevent-dev
44-
4549install :
4650 - pip install tox
4751
Original file line number Diff line number Diff line change @@ -3,7 +3,9 @@ BIN = $(HERE)/bin
33PYTHON = $(BIN ) /python
44PIP_DOWNLOAD_CACHE ?= $(HERE ) /.pip_cache
55INSTALL = $(BIN ) /pip install
6- INSTALL += --download-cache $(PIP_DOWNLOAD_CACHE )
6+ ifneq ($(TRAVIS ) , true)
7+ INSTALL += --download-cache $(PIP_DOWNLOAD_CACHE )
8+ endif
79TOX_VENV ?= py27
810BUILD_DIRS = bin build include lib lib64 man share
911
Original file line number Diff line number Diff line change 33set -e
44
55HERE=` pwd`
6- ZOO_BASE_DIR=" $HERE /bin/ "
6+ ZOO_BASE_DIR=" $HERE /zookeeper "
77ZOOKEEPER_VERSION=${ZOOKEEPER_VERSION:- 3.4.6}
8- ZOOKEEPER_PATH=" $ZOO_BASE_DIR /zookeeper- $ZOOKEEPER_VERSION "
8+ ZOOKEEPER_PATH=" $ZOO_BASE_DIR /$ZOOKEEPER_VERSION "
99ZOO_MIRROR_URL=" http://apache.osuosl.org/"
1010
1111
1212function download_zookeeper(){
1313 mkdir -p $ZOO_BASE_DIR
1414 cd $ZOO_BASE_DIR
1515 curl --silent -C - $ZOO_MIRROR_URL /zookeeper/zookeeper-$ZOOKEEPER_VERSION /zookeeper-$ZOOKEEPER_VERSION .tar.gz | tar -zx
16+ mv zookeeper-$ZOOKEEPER_VERSION $ZOOKEEPER_VERSION
1617 chmod a+x $ZOOKEEPER_PATH /bin/zkServer.sh
1718}
1819
You can’t perform that action at this time.
0 commit comments