From a9075144db6650db83325a78299f350675dcc358 Mon Sep 17 00:00:00 2001 From: Justin Carpentier <justin.carpentier@inria.fr> Date: Tue, 12 Nov 2019 11:33:43 +0100 Subject: [PATCH] travis: add variables to output on test + parallel build --- .travis.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 58dd6fa7..8a7593e1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,8 @@ language: cpp env: global: - CTEST_PARALLEL_LEVEL=4 + - CTEST_OUTPUT_ON_FAILURE=1 + - MAKEFLAGS="-j2" matrix: include: @@ -36,10 +38,10 @@ script: - cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_CXX_FLAGS=-w .. # Build - - make -j2 + - make # Run unit tests - - travis_wait 30 make -j2 test + - travis_wait 30 make test # Make sure we can install and uninstall with no issues - sudo make install -- GitLab