summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Redaelli <tredaelli@redhat.com>2019-12-18 16:53:10 +0100
committerBen Pfaff <blp@ovn.org>2019-12-19 07:49:01 -0800
commit24e6970809483d256c38cfd029ae9469b0d3e961 (patch)
tree1a53df76b05df4d3387d621dc657df57a56a1e41
parent138d30a9c045c2883164b6392094fd56c8f13196 (diff)
downloadopenvswitch-24e6970809483d256c38cfd029ae9469b0d3e961.tar.gz
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 <tredaelli@redhat.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
-rw-r--r--.travis.yml1
-rwxr-xr-x.travis/linux-prepare.sh4
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.