Skip to content

Commit

Permalink
travis: Use pip3 to install the python packages on linux
Browse files Browse the repository at this point in the history
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: 1ca0323 ("Require Python 3 and remove support for Python 2.")
Cc: [email protected]
Signed-off-by: Timothy Redaelli <[email protected]>
Signed-off-by: Ben Pfaff <[email protected]>
  • Loading branch information
drizzt authored and blp committed Dec 19, 2019
1 parent 138d30a commit 24e6970
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ addons:
- libnuma-dev
- libpcap-dev
- python3-openssl
- python3-pip
- python3-sphinx
- libelf-dev
- selinux-policy-dev
Expand Down
4 changes: 2 additions & 2 deletions .travis/linux-prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 24e6970

Please sign in to comment.