From 329f40d3045c523f9379ecde83d0c4a7c7de0fd6 Mon Sep 17 00:00:00 2001 From: "Ivo Stoilov (GitHub)" Date: Thu, 12 Jan 2017 19:21:46 +0200 Subject: Fix component dependencies Fix dependencies for parallel build Enable parallel build on Travis Related tasks APPLINK-30588 APPLINK-30973 --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 6263b30767..c1d81efd6a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,7 +33,8 @@ before_install: script: - sudo ln -sf /usr/bin/gcov-4.9 /usr/bin/gcov - bash -e tools/infrastructure/check_style.sh - - mkdir build && cd build && cmake ../ -DBUILD_TESTS=ON -DENABLE_GCOV=ON && make install + - echo Number of processing units available: ${PROCESSING_UNITS_COUNT} + - mkdir build && cd build && cmake ../ -DBUILD_TESTS=ON -DENABLE_GCOV=ON && make install -j${PROCESSING_UNITS_COUNT} - sudo ldconfig - export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:`pwd`/bin/lib ; make test - bash ../tools/infrastructure/show_disabled.sh @@ -45,6 +46,7 @@ env: - CMAKE_CXX_COMPILER=g++-4.9 - CMAKE_C_COMPILER=gcc-4.9 - LD_LIBRARY_PATH=. + - PROCESSING_UNITS_COUNT=$("nproc") after_success: - pwd ; bash <(curl -s https://codecov.io/bash) -f ./coverage/coverage.info || echo "Codecov did not collect coverage reports" deploy: -- cgit v1.2.1