From ba76e4508eecf08797c2c5b7b9ca196fabbeab0f Mon Sep 17 00:00:00 2001 From: Lu Fang <30275821+houseroad@users.noreply.github.com> Date: Wed, 9 Jan 2019 21:51:00 -0800 Subject: [PATCH] print some information (#1724) --- .travis/before_install.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis/before_install.sh b/.travis/before_install.sh index 359a95bdd75..9559807c563 100755 --- a/.travis/before_install.sh +++ b/.travis/before_install.sh @@ -2,6 +2,8 @@ # Don't source setup.sh here, because the virtualenv might not be set up yet +set -o xtrace + export NUMCORES=`grep -c ^processor /proc/cpuinfo` if [ ! -n "$NUMCORES" ]; then export NUMCORES=`sysctl -n hw.ncpu` @@ -27,6 +29,7 @@ if [ "$TRAVIS_OS_NAME" == "linux" ]; then install_protobuf elif [ "$TRAVIS_OS_NAME" == "osx" ]; then + brew update brew install ccache protobuf if [ "${PYTHON_VERSION}" == "python3" ]; then brew upgrade python