[PATCH v2 5/5] travis: test upstart/systemd init script handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 systemd, it is fine for us to test rules that install
upstasrt, since we're not actually running these scripts for real.

Signed-off-by: Daniel P. Berrangé <berrange@xxxxxxxxxx>
---
 .travis.yml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index da9fe8af91..773cb522ea 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -6,8 +6,12 @@ matrix:
   include:
     - compiler: gcc
       dist: trusty
+      env:
+        - DISTCHECK_CONFIGURE_ARGS="--with-init-script=upstart"
     - compiler: clang
       dist: trusty
+      env:
+        - DISTCHECK_CONFIGURE_ARGS="--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_ARGS=$DISTCHECK_CONFIGURE_ARGS
 
 after_failure:
   - echo '============================================================================'
-- 
2.14.3

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux