more build concurrency

This commit is contained in:
Dane Springmeyer
2014-10-29 23:58:22 -04:00
parent cb7c57dae6
commit 543d4568d5
2 changed files with 3 additions and 3 deletions

View File

@@ -40,7 +40,7 @@ if [[ ${TRAVIS_OS_NAME} == "linux" ]]; then
echo $CXXFLAGS
echo $CFLAGS
echo $LDFLAGS
make && sudo make install && \
make -j$(nproc) && sudo make install && \
cd ../
mapbox_time "install_opengl" \

View File

@@ -8,10 +8,10 @@ if [[ ${TRAVIS_OS_NAME} == "linux" ]]; then
# build & test Linux
#
mapbox_time "compile_program" \
make linux -j4 BUILDTYPE=${BUILDTYPE}
make linux -j$(nproc) BUILDTYPE=${BUILDTYPE}
mapbox_time "compile_tests" \
make test -j4 BUILDTYPE=${BUILDTYPE}
make test -j$(nproc) BUILDTYPE=${BUILDTYPE}
mapbox_time "run_tests" \
./scripts/run_tests.sh