Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.

Commit e3e6448

Browse files
committed
travis: build with -j$(nproc) instead of -j
Signed-off-by: David Wagner <[email protected]>
1 parent 37260b8 commit e3e6448

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,17 +65,17 @@ script:
6565

6666
- ( mkdir build_debug && cd build_debug &&
6767
cmake -DCMAKE_PREFIX_PATH=$PREFIX -DCMAKE_BUILD_TYPE=Debug -DCOVERAGE=${coverage} .. &&
68-
make -j &&
68+
make -j$(nproc) &&
6969
CTEST_OUTPUT_ON_FAILURE=1 make ExperimentalTest ExperimentalMemCheck )
7070
- ( mkdir build && cd build &&
7171
cmake -DCMAKE_PREFIX_PATH=$PREFIX -DCMAKE_INSTALL_PREFIX=../install -DCMAKE_BUILD_TYPE=Release .. &&
72-
make -j &&
72+
make -j$(nproc) &&
7373
CTEST_OUTPUT_ON_FAILURE=1 make test &&
7474
make install &&
7575
cpack --verbose -G DEB && dpkg --info *.deb)
7676
- ( cd skeleton-subsystem &&
7777
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=../install . &&
78-
make &&
78+
make -j$(nproc) &&
7979
CTEST_OUTPUT_ON_FAILURE=1 make ExperimentalTest ExperimentalMemCheck &&
8080
make install )
8181
- ( cd tools/clientSimulator &&
@@ -89,7 +89,7 @@ script:
8989
rm -rf $PREFIX/asio-1.10.6 &&
9090
cmake -DCMAKE_PREFIX_PATH=$PREFIX -DCMAKE_BUILD_TYPE=Debug
9191
-DNETWORKING=OFF -DPYTHON_BINDINGS=OFF -DC_BINDINGS=OFF .. &&
92-
make -j &&
92+
make -j$(nproc) &&
9393
CTEST_OUTPUT_ON_FAILURE=1 make test )
9494

9595
after_success:

0 commit comments

Comments
 (0)