Skip to content

Commit

Permalink
Work round homebrew error on travis.
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew-brett committed Oct 30, 2019
1 parent 33f808c commit 08a2aaa
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/test_multibuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ source tests/test_common_utils.sh
source tests/test_fill_submodule.sh
if [ -n "$IS_OSX" ]; then
source osx_utils.sh

# To work round:
# https://travis-ci.community/t/syntax-error-unexpected-keyword-rescue-expecting-keyword-end-in-homebrew/5623
brew update

get_macpython_environment $PYTHON_VERSION ${VENV:-""} $MB_PYTHON_OSX_VER
source tests/test_python_install.sh
source tests/test_fill_pyver.sh
Expand Down
5 changes: 5 additions & 0 deletions travis_osx_steps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ source $MULTIBUILD_DIR/library_builders.sh
function before_install {
export CC=clang
export CXX=clang++

# To work round:
# https://travis-ci.community/t/syntax-error-unexpected-keyword-rescue-expecting-keyword-end-in-homebrew/5623
brew update

get_macpython_environment $MB_PYTHON_VERSION venv
source venv/bin/activate
pip install --upgrade pip wheel
Expand Down

0 comments on commit 08a2aaa

Please sign in to comment.