From edec535f808ee8d0a6acadfafd558eec1e61b4c7 Mon Sep 17 00:00:00 2001 From: nmcdonnell-kx Date: Wed, 10 Feb 2021 12:26:56 +0000 Subject: [PATCH] Fix travis brew update condition --- .travis.yml | 1 + travis_setup.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index da33d13..211757a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,6 +21,7 @@ before_install: # Run instructions to install or build Arrow libray - if [[ $BUILD == "True" ]]; then + echo TRAVIS_TAG=$TRAVIS_TAG; chmod +x travis_setup.sh; ./travis_setup.sh; export LIB="cmake/$FILE_ROOT/lib"; diff --git a/travis_setup.sh b/travis_setup.sh index 1946d5f..db87fce 100644 --- a/travis_setup.sh +++ b/travis_setup.sh @@ -14,7 +14,7 @@ APT_LINE sudo apt install -y -V libarrow-dev sudo apt install -y -V libparquet-dev elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then - if [[ ! -z "$TRAVIS_TAG" ]]; then + if [[ -z "$TRAVIS_TAG" ]]; then export HOMEBREW_NO_AUTO_UPDATE=1; fi brew install apache-arrow