[libvirt] [PATCH 1/4] travis: add a scenario for running make distcheck

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


Running "make distcheck" ensures that we have CLEANFILES and uninstall
rules setup correctly, as well as validating VPATH builds succeeed.

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

diff --git a/.travis.yml b/.travis.yml
index 3f26a1eeee..4bdf034829 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -6,8 +6,13 @@ matrix:
   include:
     - compiler: gcc
       dist: precise
+    # 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
     - compiler: gcc
       dist: trusty
+      script:
+      - make -j3 distcheck
     - compiler: clang
       dist: precise
     - compiler: clang
-- 
2.14.3




More information about the libvir-list mailing list