From 24e6970809483d256c38cfd029ae9469b0d3e961 Mon Sep 17 00:00:00 2001 From: Timothy Redaelli Date: Wed, 18 Dec 2019 16:53:10 +0100 Subject: travis: Use pip3 to install the python packages on linux Currently pip is used to install the python packages on linux by travis, but pip3 should be used since pip is a symlink of pip2. Fixes: 1ca0323e7c29 ("Require Python 3 and remove support for Python 2.") Cc: blp@ovn.org Signed-off-by: Timothy Redaelli Signed-off-by: Ben Pfaff --- .travis.yml | 1 + .travis/linux-prepare.sh | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2dc4d436b..abd2a9117 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,6 +21,7 @@ addons: - libnuma-dev - libpcap-dev - python3-openssl + - python3-pip - python3-sphinx - libelf-dev - selinux-policy-dev diff --git a/.travis/linux-prepare.sh b/.travis/linux-prepare.sh index 2e57945f5..13390afc0 100755 --- a/.travis/linux-prepare.sh +++ b/.travis/linux-prepare.sh @@ -12,8 +12,8 @@ cd sparse make -j4 HAVE_LLVM= install cd .. -pip install --disable-pip-version-check --user six flake8 hacking -pip install --user --upgrade docutils +pip3 install --disable-pip-version-check --user six flake8 hacking +pip3 install --user --upgrade docutils if [ "$M32" ]; then # Installing 32-bit libraries. -- cgit v1.2.1