Skip to content

Commit

Permalink
travis: Upgrade to the lastest pytest.
Browse files Browse the repository at this point in the history
The default pytest included in the travis 2.7 package (3.3.0) is
too old for the pytest_cov package we install. Use pip to upgrade
it before running tests.

Resolves the build failure with python 2.7 on linux.
  • Loading branch information
rillian committed May 28, 2019
1 parent d531979 commit bb30753
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ install:
$PIP install setuptools
$PIP install ply pep8 mako
if [ "$MYPYTHON" != "jython" ]; then
$PIP install pytest pytest-cov codecov
$PIP install --upgrade pytest pytest-cov codecov
fi
script:
Expand Down

0 comments on commit bb30753

Please sign in to comment.