You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
964 B
Bash

#!/bin/bash
set -e # Enables cheking of return values from each command
set -x # Prints every command
# This file is only used from Travis CI, where the only Linux distro used is Ubuntu
4 years ago
pip=pip3
if [[ "$(uname -s)" == 'Linux' ]]; then
4 years ago
sudo apt update --yes
sudo apt install --yes cmake
sudo apt install --yes zlib1g-dev libssh-dev python3-pip libxml2-utils
4 years ago
if [ -n "$WITH_VALGRIND" ]; then
sudo apt install --yes valgrind
fi
4 years ago
sudo apt autoremove --yes
4 years ago
if [ -n "$WITH_VALGRIND" ]; then
sudo apt-get install valgrind
fi
pip=pip
fi
4 years ago
sudo $pip install virtualenv
virtualenv conan
source conan/bin/activate
4 years ago
$pip3 install conan==1.30.2
$pip3 install codecov
$pip3 install lxml
4 years ago
python3 --version
conan --version
conan config set storage.path=~/conanData
conan profile new default --detect
if [[ "$(uname -s)" == 'Linux' ]]; then
conan profile update settings.compiler.libcxx=libstdc++11 default
fi