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

Andrea Bolognani posted 4 patches 7 years, 2 months ago
[libvirt] [PATCH 3/4] travis: make all builds use VPATH
Posted by Andrea Bolognani 7 years, 2 months ago
From: Daniel P. Berrangé <berrange@redhat.com>

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

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@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

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list