From da821621ecd6fa4d233f16ecd455b9c5d54d01e1 Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Fri, 19 Aug 2022 13:27:42 +0300 Subject: Travis CI: Pass --verbose option to cmake only on FreeBSD (fix of commit f5b6d54d1) This is because cmake on Ubuntu Xenial and Ubuntu Bionic (the cmake version existing by default on these Ubuntu releases) does not support the option to turn on verbose mode. --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 996c99f..91107a7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -197,6 +197,7 @@ jobs: - os: freebsd env: - CMAKE_OPTIONS="-DCMAKE_BUILD_TYPE=Release -Denable_gpl=OFF" + - CMAKE_BUILD_OPTIONS="--verbose" - compiler: clang env: - CMAKE_OPTIONS="-DCMAKE_BUILD_TYPE=Debug -Denable_atomic_intrinsics=OFF" @@ -708,7 +709,7 @@ script: fi - if [[ "$CMAKE_OPTIONS" != "" ]]; then cmake $CMAKE_OPTIONS -Dbuild_tests=ON -Denable_werror=ON -Werror=dev . && - cmake --build . --verbose; + cmake --build . $CMAKE_BUILD_OPTIONS; fi - if [[ "$CMAKE_OPTIONS" != "" ]]; then ctest -j4 -V; -- cgit v1.2.1