]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
travis: Move PATH to macOS-specific environment
authorAndrea Bolognani <abologna@redhat.com>
Wed, 30 May 2018 12:24:41 +0000 (14:24 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Tue, 5 Jun 2018 07:59:25 +0000 (09:59 +0200)
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@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
.travis.yml

index f4dd0427a976ba9e59068133dc83259636696731..ddc902888e867531bd4641bd85e0eea3e5b091db 100644 (file)
@@ -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: