Skip to content

Commit

Permalink
try JOBS as multiple of CPUs
Browse files Browse the repository at this point in the history
  • Loading branch information
Dane Springmeyer committed Nov 21, 2016
1 parent a49c38a commit 7388711
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,11 +119,11 @@ before_install:
- if [[ ! -z $TARGET_ARCH ]] ; then source ./scripts/travis/before_install.$TARGET_ARCH.sh ; fi
- |
if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then
export JOBS=$((`nproc` + 1))
export JOBS=$((`nproc` * 2))
fi
- |
if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then
export JOBS=4
export JOBS=$((`sysctl -n hw.ncpu` * 2))
sudo mdutil -i off /
fi
- echo "Using ${JOBS} jobs"
Expand Down

0 comments on commit 7388711

Please sign in to comment.