Make Travis less verbose

But preserving error logs
parent 5b5e374d
...@@ -250,8 +250,7 @@ before_script: ...@@ -250,8 +250,7 @@ before_script:
# Print debug system information # Print debug system information
- cat /proc/sys/kernel/core_pattern - cat /proc/sys/kernel/core_pattern
- cat /etc/default/apport || true - cat /etc/default/apport || true
- service --status-all || true - systemctl list-units --type=service --state=running
- initctl list || true
# Meson debug build # Meson debug build
- meson setup meson_build_debug - meson setup meson_build_debug
...@@ -299,24 +298,24 @@ script: ...@@ -299,24 +298,24 @@ script:
# Set the ulimit # Set the ulimit
- ulimit -c unlimited -S - 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 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 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 release build
- meson compile -C meson_build_release --jobs 2 - 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: after_failure:
- CRASHFILES=$(find /var/crash/ -mindepth 1 -maxdepth 1 -print) - CRASHFILES=$(find /var/crash/ -mindepth 1 -maxdepth 1 -print)
- echo "$CRASHFILES" - echo "$CRASHFILES"
......
...@@ -13,7 +13,7 @@ project (pistache ...@@ -13,7 +13,7 @@ project (pistache
include(GNUInstallDirs) 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(BUILD_SHARED_LIBS "build shared library" ON)
option(PISTACHE_BUILD_TESTS "build tests alongside the project" OFF) 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