Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 40 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,48 @@
language: python
python:
- 2.7
- 3.4
- 3.5
- 3.6
- pypy
- pypy3
- nightly
env:
- TOXENV=pytest36
- TOXENV=pytest37
- TOXENV=pytest38
matrix:
include:
# On Python 2 we test pytest 3 (minimum supported) and 4 (latest to support Python 2)
- python: 2.7
env: TOXENV=flake8
env: TOXENV=py27-pytest3
- python: pypy
env: TOXENV=pypy-pytest3
- python: 2.7
env: TOXENV=py27-pytest4
- python: pypy
env: TOXENV=pypy-pytest4

# On Python 3.5+ we test pytest 3 (minimum supported) and 6 (latest)
- python: 3.5
env: TOXENV=py35-pytest3
- python: 3.5
env: TOXENV=py35-pytest6

- python: 3.6
env: TOXENV=py36-pytest3
- python: 3.6
env: TOXENV=py36-pytest6

- python: 3.7
env: TOXENV=py37-pytest3
- python: 3.7
env: TOXENV=py37-pytest6

- python: 3.8
env: TOXENV=py38-pytest3
- python: 3.8
env: TOXENV=py38-pytest6

- python: 3.9
env: TOXENV=py39-pytest3
- python: 3.9
env: TOXENV=py39-pytest6

- python: pypy3
env: TOXENV=pypy3-pytest3
- python: pypy3
env: TOXENV=pypy3-pytest6

- python: 3.9
env: TOXENV=flake8
install:
- pip install tox-travis
Expand Down
2 changes: 2 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ Release Notes

* Using ``@pytest.mark.repeat(1)`` can now be used to disable repeating a test regardless of the ``--count`` parameter given in the command-line.

* Python 3.4 is no longer officially supported.

**0.8.0 (2019-02-26)**

* Fix mark deprecation warnings in new pytest versions.
Expand Down
7 changes: 5 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ easy to repeat a single test, or multiple tests, a specific number of times.
.. image:: https://img.shields.io/pypi/v/pytest-repeat.svg
:target: https://pypi.python.org/pypi/pytest-repeat/
:alt: PyPI
.. image:: https://img.shields.io/pypi/pyversions/pytest-repeat.svg
:target: https://pypi.org/project/pytest-repeat/
:alt: Python versions
.. image:: https://img.shields.io/travis/pytest-dev/pytest-repeat.svg
:target: https://travis-ci.org/pytest-dev/pytest-repeat/
:alt: Travis
Expand All @@ -25,8 +28,8 @@ Requirements

You will need the following prerequisites in order to use pytest-repeat:

- Python 2.7, 3.4+ or PyPy
- pytest 2.8 or newer
- Python 2.7, 3.5+ or PyPy
- pytest 3.6 or newer

Installation
------------
Expand Down
8 changes: 6 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
install_requires=['pytest>=3.6'],
license='Mozilla Public License 2.0 (MPL 2.0)',
keywords='pytest pytest repeat',
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Framework :: Pytest',
Expand All @@ -26,6 +27,9 @@
'Topic :: Utilities',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6'])
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
])
8 changes: 4 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
[tox]
minversion = 3.4.0
isolated_build = true
envlist = py{27,34,35,36,py,py3}-pytest{36,37,38}, flake8
envlist = py{27,35,36,37,38,39,py,py3}-pytest{3,4,6}, flake8

[testenv]
commands = pytest {posargs}
deps =
pytest36: pytest~=3.6
pytest37: pytest~=3.7
pytest38: pytest~=3.8
pytest3: pytest~=3.6
pytest4: pytest~=4.6
pytest6: pytest>=6,<7

[testenv:flake8]
basepython = python
Expand Down