Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pistache
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
pistache
Commits
ac763338
Unverified
Commit
ac763338
authored
Apr 12, 2021
by
Andrea Pappacoda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make Travis less verbose
But preserving error logs
parent
5b5e374d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
14 deletions
+13
-14
.travis.yml
.travis.yml
+12
-13
CMakeLists.txt
CMakeLists.txt
+1
-1
No files found.
.travis.yml
View file @
ac763338
...
@@ -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"
...
...
CMakeLists.txt
View file @
ac763338
...
@@ -13,7 +13,7 @@ project (pistache
...
@@ -13,7 +13,7 @@ project (pistache
include
(
GNUInstallDirs
)
include
(
GNUInstallDirs
)
add_compile_options
(
-Wall -W
conversion -pedantic -Wextra
-Wno-missing-field-initializers
)
add_compile_options
(
-Wall -W
extra -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment