Use one job less on CI

This commit is contained in:
Vinnie Falco committed 2017-07-20 08:15:27 -07:00
1 parent 0a4f964811
commit 2ee6646c60
2 files changed
+4

No files matched your search

+3
View File
@@ -43,6 +43,9 @@ elif [[ $(uname -s) == "Linux" ]]; then
if [[ "${TRAVIS}" == "true" && ${NUM_PROCESSORS:=2} > ${num_jobs} ]]; then
num_jobs=$NUM_PROCESSORS
fi
if [[ "$TRAVIS" == "true" ]] && (( "$num_jobs" > 1)); then
num_jobs=$((num_jobs - 1))
fi
fi
echo "using toolset: $CC"