From f3f7cb73b9b0b77d087c8159810ac4acb62ebf96 Mon Sep 17 00:00:00 2001 From: Andrea Bolognani Date: Wed, 30 May 2018 14:24:41 +0200 Subject: [PATCH] travis: Move PATH to macOS-specific environment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Daniel P. Berrangé --- .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: