travis: Move PATH to macOS-specific environment

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>
This commit is contained in:
Andrea Bolognani 2018-05-30 14:24:41 +02:00
parent 91038dfb3b
commit f3f7cb73b9

View File

@ -20,6 +20,8 @@ matrix:
- DISTCHECK_CONFIGURE_FLAGS="--with-init-script=systemd" - DISTCHECK_CONFIGURE_FLAGS="--with-init-script=systemd"
- compiler: clang - compiler: clang
os: osx os: osx
env:
- PATH="/usr/local/opt/gettext/bin:/usr/local/opt/rpcgen/bin:$PATH"
before_install: before_install:
- brew uninstall python mercurial postgis sfcgal cgal gdal - brew uninstall python mercurial postgis sfcgal cgal gdal
- brew update - brew update
@ -105,9 +107,6 @@ git:
env: env:
global: 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 - VIR_TEST_DEBUG=1
before_script: before_script: