From ace6324a77319294c96a2bec6c196b56eba6407f Mon Sep 17 00:00:00 2001 From: John Hood Date: Fri, 3 Aug 2018 01:13:22 -0400 Subject: [PATCH] Display CPU count on Travis/MacOS. --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index 07ed19b..e485e43 100644 --- a/.travis.yml +++ b/.travis.yml @@ -63,6 +63,10 @@ before_script: # 'make distcheck', and OS X package build on tag builds. script: + - | + if test osx = "${TRAVIS_OS_NAME}"; then + sysctl hw.ncpu + fi - ./autogen.sh - ./configure --enable-compile-warnings=error --enable-examples - make distcheck VERBOSE=1 V=1