mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
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 <abologna@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
268ab759d9
commit
7a32bedffc
@ -6,8 +6,12 @@ matrix:
|
|||||||
include:
|
include:
|
||||||
- compiler: gcc
|
- compiler: gcc
|
||||||
dist: trusty
|
dist: trusty
|
||||||
|
env:
|
||||||
|
- DISTCHECK_CONFIGURE_FLAGS="--with-init-script=upstart"
|
||||||
- compiler: clang
|
- compiler: clang
|
||||||
dist: trusty
|
dist: trusty
|
||||||
|
env:
|
||||||
|
- DISTCHECK_CONFIGURE_FLAGS="--with-init-script=systemd"
|
||||||
- compiler: clang
|
- compiler: clang
|
||||||
os: osx
|
os: osx
|
||||||
script:
|
script:
|
||||||
@ -99,7 +103,7 @@ before_script:
|
|||||||
- ./autogen.sh --prefix=$(pwd)/install-root
|
- ./autogen.sh --prefix=$(pwd)/install-root
|
||||||
|
|
||||||
script:
|
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:
|
after_failure:
|
||||||
- echo '============================================================================'
|
- echo '============================================================================'
|
||||||
|
Loading…
Reference in New Issue
Block a user