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é <[email protected]>
---
 .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
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to