From b5f14b81afeed355b8cbe936472b1c09142018c1 Mon Sep 17 00:00:00 2001 From: Sebastian Messmer Date: Fri, 12 Feb 2016 13:11:11 +0100 Subject: [PATCH] Check number of CPU cores on travis --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 1977ab67..45b45a03 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,6 +17,8 @@ addons: - libcrypto++-dev - libfuse-dev install: +- export NUMCORES=`grep -c ^processor /proc/cpuinfo` +- echo Using $NUMCORES cores # Install boost - wget -O boost.tar.bz2 https://sourceforge.net/projects/boost/files/boost/1.56.0/boost_1_56_0.tar.bz2/download - tar -xf boost.tar.bz2