From: Daniel P. Berrangé Date: Fri, 23 Feb 2018 10:58:27 +0000 (+0000) Subject: travis: test upstart/systemd init script handling X-Git-Tag: v4.1.0~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a32bedffc5521aabed63a2991db6a805403f76d;p=thirdparty%2Flibvirt.git travis: test upstart/systemd init script handling Enable testing of both the upstart and systemd init script handling. We test a different one in each scenario. Even though trusty only cares about upstart, it is fine for us to test rules that install systemd, since we're not actually running these scripts for real. Reviewed-by: Andrea Bolognani Signed-off-by: Daniel P. Berrangé --- diff --git a/.travis.yml b/.travis.yml index 282cb223b0..44f680ad07 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,8 +6,12 @@ matrix: include: - compiler: gcc dist: trusty + env: + - DISTCHECK_CONFIGURE_FLAGS="--with-init-script=upstart" - compiler: clang dist: trusty + env: + - DISTCHECK_CONFIGURE_FLAGS="--with-init-script=systemd" - compiler: clang os: osx script: @@ -99,7 +103,7 @@ before_script: - ./autogen.sh --prefix=$(pwd)/install-root script: - - make -j3 && make -j3 syntax-check && make -j3 distcheck + - make -j3 && make -j3 syntax-check && make -j3 distcheck DISTCHECK_CONFIGURE_FLAGS=$DISTCHECK_CONFIGURE_FLAGS after_failure: - echo '============================================================================'