[libvirt] [PATCH 3/4] travis: make all builds use VPATH

Andrea Bolognani abologna at redhat.com
Wed Feb 28 11:42:59 UTC 2018


From: Daniel P. Berrangé <berrange at redhat.com>

VPATH is not well tested by developers, so ensure travis exercises VPATH
in all scenarios.

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

diff --git a/.travis.yml b/.travis.yml
index 638228a6ed..6b2595edab 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -94,7 +94,7 @@ before_install:
   - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update && brew upgrade && brew install rpcgen yajl; fi
 
 before_script:
-  - ./autogen.sh
+  - mkdir build && cd build && ../autogen.sh
 
 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