From 7b69881e76934167a3a012796376895ccebe796f Mon Sep 17 00:00:00 2001 From: alan-barzilay Date: Wed, 24 Mar 2021 16:21:56 -0300 Subject: [PATCH] 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 --- .travis.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 324b044..bfe9a9d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,8 +17,12 @@ matrix: - python: 3.6 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 -install: +install: - pip install coverage coveralls tox # Command to run tests, e.g. python setup.py test