Skip to content

Commit

Permalink
.travis: Fix Python 3.5 build
Browse files Browse the repository at this point in the history
Newer versions of pip are required to install recent versions of
cpp-coveralls. However, pip >= 21 is incompatible with Python 3.5.

Signed-off-by: Paul Chaignon <[email protected]>
  • Loading branch information
pchaigno committed Feb 24, 2021
1 parent 9f9d051 commit 2954595
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ jobs:
- sudo apt-get update
- sudo apt-get -y install python3 python3-pip python3-setuptools python3-wheel
# command to install dependencies
install:
- $PYTHON -m pip install --user -r requirements.txt
- $PYTHON -m pip install --user cpp-coveralls
install:
- $PYTHON -m pip install --upgrade "pip<21.0"
- $PYTHON -m pip install -r requirements.txt
- $PYTHON -m pip install cpp-coveralls
# command to run tests
script:
- make -C vm COVERAGE=1
Expand Down

0 comments on commit 2954595

Please sign in to comment.