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

Daniel P. Berrangé posted 4 patches 7 years, 9 months ago
[libvirt] [PATCH 2/4] travis: make all builds use VPATH
Posted by Daniel P. Berrangé 7 years, 9 months ago
VPATH is not well tested by developers, so ensure travis exercises VPATH
in all scenarios.

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

diff --git a/.travis.yml b/.travis.yml
index 4bdf034829..41a293451c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -103,7 +103,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
Re: [libvirt] [PATCH 2/4] travis: make all builds use VPATH
Posted by Andrea Bolognani 7 years, 9 months ago
On Fri, 2018-02-23 at 12:00 +0000, Daniel P. Berrangé wrote:
> VPATH is not well tested by developers, so ensure travis exercises VPATH
> in all scenarios.
> 
> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
> ---
>  .travis.yml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/.travis.yml b/.travis.yml
> index 4bdf034829..41a293451c 100644
> --- a/.travis.yml
> +++ b/.travis.yml
> @@ -103,7 +103,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

Reviewed-by: Andrea Bolognani <abologna@redhat.com>

-- 
Andrea Bolognani / Red Hat / Virtualization

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