[libvirt] [PATCH v2 3/5] travis: run "make distcheck" instead of just "make check"

Daniel P. Berrangé berrange at redhat.com
Wed Feb 28 14:55:34 UTC 2018


Running "make distcheck"  includes the "make check", and "make dist"
targets. It ensures that we have CLEANFILES and uninstall rules setup
correctly, as well as validating VPATH builds succeed.

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

diff --git a/.travis.yml b/.travis.yml
index 33887e7284..0cfdf80950 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -96,7 +96,7 @@ before_script:
 script:
   # Many unit tests still fail on macOS, and there are a bunch of issues with
   # syntax-check as well, so skip those steps on that platform for now
-  - make -j3 && if [ "$TRAVIS_OS_NAME" != "osx" ]; then make -j3 syntax-check && make -j3 check; fi
+  - make -j3 && if [ "$TRAVIS_OS_NAME" != "osx" ]; then make -j3 syntax-check && make -j3 distcheck; fi
 
 after_failure:
   - echo '============================================================================'
-- 
2.14.3




More information about the libvir-list mailing list