Blame ci/install.sh

Packit Service 21b5d1
#!/bin/bash
Packit Service 21b5d1
set -e # Enables cheking of return values from each command
Packit Service 21b5d1
set -x # Prints every command
Packit Service 21b5d1
Packit Service 21b5d1
if [[ "$(uname -s)" == 'Linux' ]]; then
Packit Service 21b5d1
    sudo apt-get update
Packit Service 21b5d1
    sudo apt-get install cmake zlib1g-dev libssh-dev python-pip libxml2-utils
Packit Service 21b5d1
    if [ -n "$WITH_VALGRIND" ]; then
Packit Service 21b5d1
        sudo apt-get install valgrind
Packit Service 21b5d1
    fi
Packit Service 21b5d1
    sudo pip install virtualenv
Packit Service 21b5d1
    virtualenv conan
Packit Service 21b5d1
    source conan/bin/activate
Packit Service 21b5d1
else
Packit Service 21b5d1
    brew update
Packit Service 21b5d1
    brew install pyenv-virtualenv
Packit Service 21b5d1
    export PATH="/Users/travis/.pyenv/shims:${PATH}"
Packit Service 21b5d1
    eval "$(pyenv init -)"
Packit Service 21b5d1
    eval "$(pyenv virtualenv-init -)"
Packit Service 21b5d1
    pyenv virtualenv conan
Packit Service 21b5d1
    pyenv activate conan
Packit Service 21b5d1
fi
Packit Service 21b5d1
Packit Service 21b5d1
python --version
Packit Service 21b5d1
pip install conan==1.17.2
Packit Service 21b5d1
pip install codecov
Packit Service 21b5d1
conan --version
Packit Service 21b5d1
conan config set storage.path=~/conanData
Packit Service 21b5d1
conan profile new default --detect
Packit Service 21b5d1
Packit Service 21b5d1
if [[ "$(uname -s)" == 'Linux' ]]; then
Packit Service 21b5d1
    conan profile update settings.compiler.libcxx=libstdc++11 default
Packit Service 21b5d1
fi
Packit Service 21b5d1