2016-07-29 16:07:16 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -e -x
|
|
|
|
|
|
|
|
if [ "${TRAVIS_OS_NAME}" == "osx" ]; then
|
2018-04-25 17:58:07 +00:00
|
|
|
brew update >/dev/null
|
|
|
|
brew upgrade pyenv
|
2016-07-29 16:07:16 +00:00
|
|
|
eval "$(pyenv init -)"
|
|
|
|
|
|
|
|
if ! (pyenv versions | grep "${PYTHON_VERSION}$"); then
|
|
|
|
pyenv install ${PYTHON_VERSION}
|
|
|
|
fi
|
2016-12-23 21:30:16 +00:00
|
|
|
pyenv global ${PYTHON_VERSION}
|
|
|
|
pyenv rehash
|
|
|
|
|
2019-02-11 21:31:58 +00:00
|
|
|
brew install gnu-sed
|
2016-12-23 21:30:16 +00:00
|
|
|
brew outdated libtool || brew upgrade libtool
|
2019-02-11 21:31:58 +00:00
|
|
|
brew outdated autoconf || brew upgrade autoconf
|
|
|
|
brew outdated automake || brew upgrade automake
|
2016-07-29 16:07:16 +00:00
|
|
|
fi
|
|
|
|
|
2018-04-25 17:58:07 +00:00
|
|
|
pip install --upgrade setuptools pip wheel
|
2016-07-29 16:07:16 +00:00
|
|
|
pip install -r .ci/requirements.txt
|