[libvirt] [PATCH 4/4] travis: Run 'make install' during build

Andrea Bolognani abologna at redhat.com
Wed Feb 28 11:43:00 UTC 2018


This part of the build system was not being exercised before.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>
---
 .travis.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 6b2595edab..a1f1d8b51d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -94,12 +94,12 @@ 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 install && cd build && ../autogen.sh --prefix=$(pwd)/../install
 
 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 && make -j3 distcheck; fi
+  - make -j3 && make -j3 install && if [ "$TRAVIS_OS_NAME" != "osx" ]; then make -j3 syntax-check && make -j3 check && make -j3 distcheck; fi
 
 after_failure:
   - echo '============================================================================'
-- 
2.14.3




More information about the libvir-list mailing list