Skip to content

Commit ba76e45

Browse files
authored
print some information (onnx#1724)
1 parent 797390d commit ba76e45

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.travis/before_install.sh

+3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
# Don't source setup.sh here, because the virtualenv might not be set up yet
44

5+
set -o xtrace
6+
57
export NUMCORES=`grep -c ^processor /proc/cpuinfo`
68
if [ ! -n "$NUMCORES" ]; then
79
export NUMCORES=`sysctl -n hw.ncpu`
@@ -27,6 +29,7 @@ if [ "$TRAVIS_OS_NAME" == "linux" ]; then
2729
install_protobuf
2830

2931
elif [ "$TRAVIS_OS_NAME" == "osx" ]; then
32+
brew update
3033
brew install ccache protobuf
3134
if [ "${PYTHON_VERSION}" == "python3" ]; then
3235
brew upgrade python

0 commit comments

Comments
 (0)