From 510fe7261baedc13cb59b58c1b3a1d68f262d21f Mon Sep 17 00:00:00 2001 From: Michael Carlberg Date: Sat, 19 Nov 2016 22:01:14 +0100 Subject: [PATCH] fix(ci): Parallel build --- .travis.yml | 1 + common/travis/build.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index a691c763..e1b449e9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,6 +26,7 @@ env: - LIBCXXABI_URL="http://llvm.org/releases/${LLVM_VERSION}/libcxxabi-${LLVM_VERSION}.src.tar.xz" - CMAKE_URL="https://cmake.org/files/v3.6/cmake-3.6.2-Linux-x86_64.tar.gz" - PYTHONPATH="/usr/lib/python2.7/dist-packages:${PYTHONPATH}" + - JOBS=4 cache: directories: diff --git a/common/travis/build.sh b/common/travis/build.sh index 8f27d3e5..a3dc4e12 100755 --- a/common/travis/build.sh +++ b/common/travis/build.sh @@ -1,2 +1,2 @@ #!/bin/sh -cd "${TRAVIS_BUILD_DIR}/build" && make +cd "${TRAVIS_BUILD_DIR}/build" && make -j"${JOBS}"