Upgrade pip before running tests on travis

This should ensure that all tests use the same version of pip and this should hopefully fix the pypy build that is using pip 19
This commit is contained in:
alan-barzilay 2021-03-24 16:21:56 -03:00
parent 787c202901
commit 7b69881e76

View File

@ -17,8 +17,12 @@ matrix:
- python: 3.6 - python: 3.6
env: TOX_ENV=flake8 env: TOX_ENV=flake8
# This should ensure that all tests use the same pip version
before_install:
- python -m pip install --upgrade pip
# Use tox to run tests on Travis-CI to keep one unified method of running tests in any environment # Use tox to run tests on Travis-CI to keep one unified method of running tests in any environment
install: install:
- pip install coverage coveralls tox - pip install coverage coveralls tox
# Command to run tests, e.g. python setup.py test # Command to run tests, e.g. python setup.py test