-
Notifications
You must be signed in to change notification settings - Fork 42
update supported python and pytest versions #104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
7530a4e
07a42c7
c0e4118
443a06d
806d4ae
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,12 @@ | ||
| --- | ||
| language: python | ||
| dist: bionic | ||
| python: | ||
| - "2.7" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We can remove python2.7 compatibility. Make sure to update the
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We can make it in #105 (it just needs some small polishing) after merging this one. What do you think? |
||
| - "3.5" | ||
| - "3.6" | ||
| - "3.7" | ||
| - "3.8" | ||
| - "3.9" | ||
|
|
||
| install: | ||
| - pip install tox tox-travis | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| [tool.black] | ||
| line-length = 120 | ||
| target-version = ['py27', 'py35', 'py36', 'py37', 'py38'] | ||
| target-version = ['py27', 'py36', 'py37', 'py38'] |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,31 +1,34 @@ | ||
| [tox] | ||
| distshare = {homedir}/.tox/distshare | ||
| envlist = py27-pytest{43,44,45,46}, | ||
| py38-pytest{43,44,45,46,50,51,52,53,54,60,latest}, | ||
| envlist = py27-pytest46, | ||
| py38-pytest{46,50,51,52,53,54,60,61,62,latest,master}, | ||
| py38-pytestlatest-linters, | ||
| py{35,36,37}-pytestlatest | ||
| py{36,37,39}-pytestlatest | ||
|
|
||
| [testenv] | ||
| commands = pytest --junitxml={envlogdir}/junit-{envname}.xml {posargs:tests} | ||
| deps = | ||
| pytestlatest: pytest | ||
| pytestmaster: git+https://github.com/pytest-dev/pytest.git@master | ||
| pytest62: pytest~=6.2.0 | ||
| pytest61: pytest~=6.1.0 | ||
| pytest60: pytest~=6.0.0 | ||
| pytest54: pytest~=5.4.0 | ||
| pytest53: pytest~=5.3.0 | ||
| pytest52: pytest~=5.2.0 | ||
| pytest51: pytest~=5.1.0 | ||
| pytest50: pytest~=5.0.0 | ||
| pytest46: pytest~=4.6.0 | ||
| pytest45: pytest~=4.5.0 | ||
| pytest44: pytest~=4.4.0 | ||
| pytest43: pytest~=4.3.0 | ||
|
|
||
| -r{toxinidir}/requirements-testing.txt | ||
|
|
||
| [testenv:py38-pytestlatest-linters] | ||
| deps = black | ||
| commands = black --check --verbose setup.py pytest_factoryboy tests | ||
|
|
||
| [testenv:py38-pytestmaster] | ||
| # allow failures of tests run for `pytest` installed from `master` branch | ||
| ignore_outcome = true | ||
|
|
||
| [pytest] | ||
| addopts = -vv -l | ||
| pep8maxlinelength = 120 |
Uh oh!
There was an error while loading. Please reload this page.