summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorIvo Stoilov (GitHub) <istoilov@luxoft.com>2017-01-12 19:21:46 +0200
committerIvo Stoilov (GitHub) <istoilov@luxoft.com>2017-01-16 13:16:03 +0200
commit329f40d3045c523f9379ecde83d0c4a7c7de0fd6 (patch)
tree0524cc1a259e46b7209ac524e0c47acc9c7e9141 /.travis.yml
parent0d9c2776edbb0b50bbf878c563cb80df398986ed (diff)
downloadsdl_core-329f40d3045c523f9379ecde83d0c4a7c7de0fd6.tar.gz
Fix component dependencies
Fix dependencies for parallel build Enable parallel build on Travis Related tasks APPLINK-30588 APPLINK-30973
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml4
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: