mirror of https://github.com/MagicStack/uvloop.git
24 lines
629 B
Bash
Executable File
24 lines
629 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e -x
|
|
|
|
if [ "${TRAVIS_OS_NAME}" == "osx" ]; then
|
|
brew update >/dev/null
|
|
brew upgrade pyenv
|
|
eval "$(pyenv init -)"
|
|
|
|
if ! (pyenv versions | grep "${PYTHON_VERSION}$"); then
|
|
pyenv install ${PYTHON_VERSION}
|
|
fi
|
|
pyenv global ${PYTHON_VERSION}
|
|
pyenv rehash
|
|
|
|
brew install gnu-sed --with-default-names
|
|
brew outdated libtool || brew upgrade libtool
|
|
brew outdated autoconf || brew upgrade autoconf --with-default-names
|
|
brew outdated automake || brew upgrade automake --with-default-names
|
|
fi
|
|
|
|
pip install --upgrade setuptools pip wheel
|
|
pip install -r .ci/requirements.txt
|