[libvirt] [PATCH 1/2] travis: Move PATH to macOS-specific environment

Andrea Bolognani abologna at redhat.com
Wed May 30 13:13:33 UTC 2018


Now that we have separate sections for each build
configuration, there's no reason to set PATH in the global
environment.

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

diff --git a/.travis.yml b/.travis.yml
index f4dd0427a9..ddc902888e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -20,6 +20,8 @@ matrix:
         - DISTCHECK_CONFIGURE_FLAGS="--with-init-script=systemd"
     - compiler: clang
       os: osx
+      env:
+        - PATH="/usr/local/opt/gettext/bin:/usr/local/opt/rpcgen/bin:$PATH"
       before_install:
         - brew uninstall python mercurial postgis sfcgal cgal gdal
         - brew update
@@ -105,9 +107,6 @@ git:
 
 env:
   global:
-    # The custom $PATH is just to pick up some extra binaries installed
-    # through homebrew on macOS and it's completely harmless on Linux
-    - PATH="/usr/local/opt/gettext/bin:/usr/local/opt/rpcgen/bin:$PATH"
     - VIR_TEST_DEBUG=1
 
 before_script:
-- 
2.17.0




More information about the libvir-list mailing list