We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8cd6e5 commit c67e553Copy full SHA for c67e553
src/ci/run.sh
@@ -91,11 +91,19 @@ make check-bootstrap
91
travis_fold end check-bootstrap
92
travis_time_finish
93
94
+# Display the CPU and memory information. This helps us know why the CI timing
95
+# is fluctuating.
96
+travis_fold start log-system-info
97
if [ "$TRAVIS_OS_NAME" = "osx" ]; then
98
+ system_profiler SPHardwareDataType || true
99
+ sysctl hw || true
100
ncpus=$(sysctl -n hw.ncpu)
101
else
102
+ cat /proc/cpuinfo || true
103
+ cat /proc/meminfo || true
104
ncpus=$(grep processor /proc/cpuinfo | wc -l)
105
fi
106
+travis_fold end log-system-info
107
108
if [ ! -z "$SCRIPT" ]; then
109
sh -x -c "$SCRIPT"
0 commit comments