mirror of https://github.com/ARMmbed/mbed-os.git
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 pippull/14780/head
parent
0bfb1c9215
commit
4c52ad9d3e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue