travis: Use latest pip

As we depend on the cryptography library, and the pip version that comes
with Ubuntu Focal isn't new enough to avoid the following error about a
rust compiler and pre-built wheels, ensure Travis uses an up-to-date
pip.

    error: can't find Rust compiler

    If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler.

    To update pip, run:

        pip install --upgrade pip
pull/14780/head
Jaeden Amero 2021-06-29 15:56:09 +01:00
parent 0bfb1c9215
commit 4c52ad9d3e
1 changed files with 2 additions and 4 deletions

View File

@ -217,8 +217,7 @@ matrix:
hypothesis>=3,<4
coverage>=4.5,<5
"
- python -m pip install --upgrade pip==18.1
- python -m pip install --upgrade setuptools==40.4.3
- pip install --upgrade pip
- pip install -r requirements.txt
- pip list --verbose
script:
@ -246,8 +245,7 @@ matrix:
python: 3.7
install:
# Install python modules
- python -m pip install --upgrade pip==18.1
- python -m pip install --upgrade setuptools==40.4.3
- pip install --upgrade pip
- pip install tabulate argparse
- pip list --verbose
# Fetch the base branch to compare against