[libvirt] [PATCH 3/4] travis: test upstart script handling on precise distro scenario

Daniel P. Berrangé berrange at redhat.com
Fri Feb 23 12:00:59 UTC 2018


Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
---
 .travis.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index 41a293451c..0328fcb8f1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -6,6 +6,8 @@ matrix:
   include:
     - compiler: gcc
       dist: precise
+      env:
+        - CONFIGURE_ARGS=--with-init-script=upstart
     # Special scenario to run distcheck, so we don't waste time duplicating
     # work in all the other scenarios. Doesn't work on precise due to the
     # CVE-2012-3386 flaw being present on that Ubuntu version
@@ -103,7 +105,7 @@ before_install:
   - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update && brew upgrade && brew install rpcgen yajl; fi
 
 before_script:
-  - mkdir build && cd build && ../autogen.sh
+  - mkdir build && cd build && ../autogen.sh $CONFIGURE_ARGS
 
 script:
   # Many unit tests still fail on macOS, and there are a bunch of issues with
-- 
2.14.3




More information about the libvir-list mailing list