summaryrefslogtreecommitdiff
path: root/tools/travis/osx_install.sh
blob: a956ce0c2285458fb61917e4ea306f7532e9ebc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env bash
set -ex

# set up Python and virtualenv on OSX
git clone https://github.com/matthew-brett/multibuild
source multibuild/osx_utils.sh
get_macpython_environment $TRAVIS_PYTHON_VERSION venv

if [[ "${OPTIONAL_DEPS}" == pip ]]; then
  brew install graphviz
  sed -i "" 's/^gdal.*/gdal==1.11.2/' requirements/extras.txt
fi

set +ex