diff options
author | Calum Lind <calumlind+deluge@gmail.com> | 2020-04-11 19:56:46 +0200 |
---|---|---|
committer | Calum Lind <calumlind+deluge@gmail.com> | 2020-04-12 18:37:42 +0200 |
commit | eb57412601d49818383c56fdc13a9168807746d3 (patch) | |
tree | c8eadf311b7ae508770167d7cb53b0086b24a5f3 /tox.ini | |
parent | [Console] Fix AttributeError setting config values (diff) | |
download | deluge-eb57412601d49818383c56fdc13a9168807746d3.tar.xz deluge-eb57412601d49818383c56fdc13a9168807746d3.zip |
[Tests] Fix tox, pytest and travis issues
* Error occurring with Pytest 5.4 so pin to below that version.
* Fix minor issues with Travis config.
* Use full command-switches for pytest in tox config.
* Remove pin for pip as issue with pip-wheel-metadata was fixed in 19.3
* Remove tox-venv as causing issues of incompatible packages installed.
The latest versions of the virtualenv package should handle these
duties.
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -18,7 +18,7 @@ addopts = -p no:warnings --basetemp=_pytest_temp [basesetup] # Minimum pip and setuptools versions to fix system and travis issues. deps = - pip >= 10, <= 18.1 + pip >= 10 setuptools >= 40 [basetests] @@ -53,7 +53,7 @@ install_command = python -m pip install --ignore-installed {opts} {packages} passenv = DISPLAY PYTHONPATH setenv = PYTHONPATH = {toxinidir} - PYTEST_ADDOPTS = -v -s + PYTEST_ADDOPTS = --verbose --capture=no sitepackages = True deps = {[basetests]deps} commands = |