Skip to content

Commit

Permalink
print some information (onnx#1724)
Browse files Browse the repository at this point in the history
  • Loading branch information
houseroad authored Jan 10, 2019
1 parent 797390d commit ba76e45
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .travis/before_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand All @@ -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
Expand Down

0 comments on commit ba76e45

Please sign in to comment.