From e3b98670394847b5453c0dcc65c8ad41b6d2652d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20D=C3=ADaz=20M=C3=A1s?= Date: Mon, 5 Apr 2021 18:02:02 +0200 Subject: [PATCH] ci - use pyton3 commands --- ci/install.sh | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/ci/install.sh b/ci/install.sh index 6d520d27..d1492e4b 100755 --- a/ci/install.sh +++ b/ci/install.sh @@ -4,29 +4,22 @@ set -x # Prints every command # This file is only used from Travis CI, where the only Linux distro used is Ubuntu -python --version python3 --version if [[ "$(uname -s)" == 'Linux' ]]; then sudo apt-get update - sudo apt-get install cmake - if [[ "$(lsb_release -cs)" == 'focal' ]]; then - # In Ubuntu 20.04 python-pip does not exist. Furthermore we need to have the alias python for python3 - sudo apt-get install zlib1g-dev libssh-dev python3-pip python-is-python3 libxml2-utils - else - sudo apt-get install zlib1g-dev libssh-dev python-pip libxml2-utils - fi + sudo apt-get install cmake zlib1g-dev libssh-dev python3-pip libxml2-utils if [ -n "$WITH_VALGRIND" ]; then sudo apt-get install valgrind fi - sudo pip install virtualenv + sudo pip3 install virtualenv virtualenv conan source conan/bin/activate - pip install conan==1.30.2 - pip install codecov - pip install lxml + pip3 install conan==1.30.2 + pip3 install codecov + pip3 install lxml else sudo pip3 install virtualenv virtualenv conan