8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 06:43:04 +01:00
firebird-mirror/extern/libcds/build/CI/travis-ci/install.sh
2022-10-08 20:46:39 +03:00

32 lines
579 B
Bash

#!/bin/bash
set -e
set -x
if [[ "$(uname -s)" == 'Darwin' ]]; then
brew update || brew update
brew outdated pyenv || brew upgrade pyenv
brew install pyenv-virtualenv
brew install cmake || true
if which pyenv > /dev/null; then
eval "$(pyenv init -)"
fi
pyenv install 2.7.10
pyenv virtualenv 2.7.10 conan
pyenv rehash
pyenv activate conan
pip install conan --upgrade
pip install conan_package_tools
conan user
exit 0
fi
pip install --user conan --upgrade
pip install --user conan_package_tools
conan user