Skip to content

Commit

Permalink
FIX CI-TRAVIS: For python 2.7 builds (mock >= 4.0 only for python.ver…
Browse files Browse the repository at this point in the history
…sion >= 3.6)
  • Loading branch information
jenisys committed Jan 12, 2021
1 parent 2ea0d0e commit 994dbfe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion py.requirements/ci.travis.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ pytest < 5.0; python_version < '3.0'
pytest >= 5.0; python_version >= '3.0'

pytest-html >= 1.19.0,<2.0
mock >= 2.0
mock < 4.0; python_version < '3.6'
mock >= 4.0; python_version >= '3.6'
PyHamcrest >= 2.0.2; python_version >= '3.0'
PyHamcrest < 2.0; python_version < '3.0'

Expand Down
3 changes: 2 additions & 1 deletion py.requirements/testing.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ pytest < 5.0; python_version < '3.0' # pytest >= 4.2
pytest >= 5.0; python_version >= '3.0'

pytest-html >= 1.19.0,<2.0
mock >= 2.0
mock < 4.0; python_version < '3.6'
mock >= 4.0; python_version >= '3.6'
PyHamcrest >= 2.0.2; python_version >= '3.0'
PyHamcrest < 2.0; python_version < '3.0'

Expand Down

0 comments on commit 994dbfe

Please sign in to comment.