diff --git a/pytest.ini b/pytest.ini index 20f43a6..d6bf21c 100644 --- a/pytest.ini +++ b/pytest.ini @@ -3,6 +3,7 @@ django_find_project = false DJANGO_SETTINGS_MODULE = tests.settings_postgres python_paths = . +junit_family=xunit2 addopts = --ignore=tracking_analyzer/migrations --cov-report=xml @@ -10,6 +11,6 @@ addopts = --ignore=tracking_analyzer/migrations --junit-xml=junit.xml --pylint tracking_analyzer --pylint-rcfile=pylint.rc - --codestyle + --pycodestyle --verbose --color=yes diff --git a/setup.py b/setup.py index 4a95f7a..2ff972f 100644 --- a/setup.py +++ b/setup.py @@ -61,6 +61,7 @@ def run_tests(self): 'Development Status :: 5 - Production/Stable', 'Framework :: Django :: 2.1', 'Framework :: Django :: 2.2', + 'Framework :: Django :: 3.0', 'Intended Audience :: Developers', 'License :: OSI Approved :: GNU General Public License v3 (GPLv3)', 'Operating System :: Unix', diff --git a/tox.ini b/tox.ini index 64536ea..4579c4e 100644 --- a/tox.ini +++ b/tox.ini @@ -1,20 +1,20 @@ [tox] -envlist = django{21,22} +envlist = django{22,30} skip_missing_interpreters = true [testenv] deps= - factory-boy + factory-boy==2.12.0 psycopg2-binary - pytest==5.2.1 - pytest-cov==2.8.1 - pytest-django==3.6.0 - pytest-pycodestyle==1.4.0 + pytest==5.4.3 + pytest-cov==2.10.0 + pytest-django==3.9.0 + pytest-pycodestyle==2.1.3 pytest-pylint==0.14.1 - pytest-pythonpath - pytest-runner - django21: Django>=2.1,<2.2 + pytest-pythonpath==0.7.3 + pytest-runner==5.2 django22: Django>=2.2,<2.3 + django30: Django>=3.0,<3.1 commands= py.test \ --cov-report=xml \