Skip to content

Apache DataFusion SQL Query Engine

ARROW-1662: Move to using Homebrew/bundle and Brewfile

Stephen G861b7b061fa9
diff --git a/.travis.yml b/.travis.yml
index 4691eeb065..e722c27f71 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -72,7 +72,7 @@ matrix:
before_script:
- export ARROW_TRAVIS_USE_TOOLCHAIN=1
- export ARROW_TRAVIS_PLASMA=1
- - $TRAVIS_BUILD_DIR/ci/travis_before_script_cpp.sh
+ - travis_wait 50 $TRAVIS_BUILD_DIR/ci/travis_before_script_cpp.sh
script:
- $TRAVIS_BUILD_DIR/ci/travis_script_cpp.sh
- $TRAVIS_BUILD_DIR/ci/travis_build_parquet_cpp.sh
diff --git a/ci/travis_before_script_c_glib.sh b/ci/travis_before_script_c_glib.sh
index 7100946d76..14e4f9fa11 100755
--- a/ci/travis_before_script_c_glib.sh
+++ b/ci/travis_before_script_c_glib.sh
@@ -22,10 +22,7 @@ set -ex
source $TRAVIS_BUILD_DIR/ci/travis_env_common.sh
if [ $TRAVIS_OS_NAME == "osx" ]; then
- brew install gtk-doc autoconf-archive gobject-introspection
- brew upgrade git cmake
- brew outdated || brew upgrade wget
- brew outdated || brew upgrade libtool
+ brew update && brew bundle --file=c_glib/Brewfile
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/opt/libffi/lib/pkgconfig
fi
@@ -33,7 +30,6 @@ fi
gem install test-unit gobject-introspection
if [ $TRAVIS_OS_NAME == "osx" ]; then
- brew install lua
sudo env PKG_CONFIG_PATH=$PKG_CONFIG_PATH luarocks install lgi
else
git clone \
diff --git a/ci/travis_before_script_cpp.sh b/ci/travis_before_script_cpp.sh
index 5dd8237f90..dbdcd33ed0 100755
--- a/ci/travis_before_script_cpp.sh
+++ b/ci/travis_before_script_cpp.sh
@@ -54,9 +54,7 @@ if [ "$ARROW_TRAVIS_USE_TOOLCHAIN" == "1" ]; then
fi
if [ $TRAVIS_OS_NAME == "osx" ]; then
- brew update > /dev/null
- brew install jemalloc
- brew install ccache
+ brew update && brew bundle --file=cpp/Brewfile
fi
mkdir $ARROW_CPP_BUILD_DIR