Make Travis less verbose

But preserving error logs
parent 5b5e374d
......@@ -250,8 +250,7 @@ before_script:
# Print debug system information
- cat /proc/sys/kernel/core_pattern
- cat /etc/default/apport || true
- service --status-all || true
- initctl list || true
- systemctl list-units --type=service --state=running
# Meson debug build
- meson setup meson_build_debug
......@@ -299,24 +298,24 @@ script:
# Set the ulimit
- ulimit -c unlimited -S
# CMake debug build
- cmake --build cmake_build_debug --parallel 2 --target all test -- ARGS='-V'
# CMake debug build, no SSL
- cmake --build cmake_build_debug-nossl --parallel 2 --target all test -- ARGS='-V'
# CMake release build
- cmake --build cmake_build_release --parallel 2 -- ARGS='-V'
# Meson debug build
- meson compile -C meson_build_debug --jobs 2 && meson test -C meson_build_debug || (cat meson_build_debug/meson-logs/testlog.txt && false)
- meson compile -C meson_build_debug --jobs 2 && meson test -C meson_build_debug --print-errorlogs --no-stdsplit
# Meson debug build, no SSL
- meson compile -C meson_build_debug_nossl --jobs 2 && meson test -C meson_build_debug_nossl || (cat meson_build_debug/meson-logs/testlog.txt && false)
- meson compile -C meson_build_debug_nossl --jobs 2 && meson test -C meson_build_debug_nossl --print-errorlogs --no-stdsplit
# Meson release build
- meson compile -C meson_build_release --jobs 2
# CMake debug build
- CTEST_OUTPUT_ON_FAILURE=True cmake --build cmake_build_debug --parallel 2 --target all test
# CMake debug build, no SSL
- CTEST_OUTPUT_ON_FAILURE=True cmake --build cmake_build_debug-nossl --parallel 2 --target all test
# CMake release build
- cmake --build cmake_build_release --parallel 2
after_failure:
- CRASHFILES=$(find /var/crash/ -mindepth 1 -maxdepth 1 -print)
- echo "$CRASHFILES"
......
......@@ -13,7 +13,7 @@ project (pistache
include(GNUInstallDirs)
add_compile_options(-Wall -Wconversion -pedantic -Wextra -Wno-missing-field-initializers)
add_compile_options(-Wall -Wextra -Wpedantic -Wconversion -Wno-sign-conversion -Wno-missing-field-initializers)
option(BUILD_SHARED_LIBS "build shared library" ON)
option(PISTACHE_BUILD_TESTS "build tests alongside the project" OFF)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment