From: Vladimír Čunát Date: Mon, 11 Dec 2017 15:25:28 +0000 (+0100) Subject: bootstrap-depends.sh: try to fix travis on osx X-Git-Tag: v1.5.1^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0adc3f6dfa55b418e754fa4331e0b285a01905d;p=thirdparty%2Fknot-resolver.git bootstrap-depends.sh: try to fix travis on osx --- diff --git a/scripts/bootstrap-depends.sh b/scripts/bootstrap-depends.sh index a452d3d83..11d1d577e 100755 --- a/scripts/bootstrap-depends.sh +++ b/scripts/bootstrap-depends.sh @@ -130,12 +130,12 @@ function pkg { PIP_PKGS="dnspython==1.11 cpp-coveralls Jinja2" if [ "${TRAVIS_OS_NAME}" == "osx" ]; then brew update - for p in makedepend hiredis libmemcached protobuf-c cmocka jansson gnutls luajit libuv; do + for p in makedepend hiredis libmemcached protobuf-c cmocka jansson gnutls luajit libuv python3; do echo "BEGIN $p"; - brew install $p + brew install "$p" || brew upgrade "$p" # install fails on installed packages echo "END $p"; done - pip install ${PIP_PKGS} + pip3 install ${PIP_PKGS} fi if [ "${TRAVIS_OS_NAME}" == "linux" ]; then pip install --user --upgrade pip || true