Commit 53a9a153 authored by Simon McVittie's avatar Simon McVittie

travis-ci: Enable/disable more features in various builds

In the debug build, enable features that are off by default. In the
reduced build, explicitly disable features, some of which are
on by default. In the legacy build, check that we can compile the
default feature-set without inotify, dnotify, systemd, etc.
Reviewed-by: Philip Withnall's avatarPhilip Withnall <>
[smcv: Rebase onto 1.13.x branch, fix minor conflicts]
Signed-off-by: Simon McVittie's avatarSimon McVittie <>
(cherry picked from commit 3c031ef5)
parent ad1e5fe6
......@@ -125,6 +125,10 @@ case "$ci_buildsys" in
# Full developer/debug build.
set _ "$@"
set "$@" --enable-developer --enable-tests
# Enable optional features that are off by default
if [ "$ci_host" != mingw ]; then
set "$@" --enable-user-session
# The test coverage for OOM-safety is too
# verbose to be useful on travis-ci.
......@@ -147,6 +151,10 @@ case "$ci_buildsys" in
set "$@" --disable-launchd --disable-systemd
# No libaudit or valgrind
set "$@" --disable-libaudit --without-valgrind
# Disable optional features, some of which are on by
# default
set "$@" --disable-stats
set "$@" --disable-user-session
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