]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
travis: run "make distcheck" instead of just "make check"
authorDaniel P. Berrangé <berrange@redhat.com>
Thu, 22 Feb 2018 14:14:17 +0000 (14:14 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Wed, 28 Feb 2018 17:53:23 +0000 (17:53 +0000)
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.

Reviewed-by: Andrea Bolognani <abologna@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
.travis.yml

index 33887e7284fdf5406b3a6109ad19c8c97f0e4f48..0cfdf809509ed55b296af34364c89e899b136170 100644 (file)
@@ -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 '============================================================================'