diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 4 |
1 files changed, 3 insertions, 1 deletions
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: |