From 9bbf14d0f6d68a175a440daffad97c63c51fde37 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Fri, 1 Sep 2017 20:40:14 -0300 Subject: [PATCH] Create explicit 'pluggymaster' env definitions For some reason, the previous approach brakes 'coveralls' because pip still tries to install the 'pluggy' master requirement (git+https://...) --- tox.ini | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/tox.ini b/tox.ini index 89383e6fb..59a151895 100644 --- a/tox.ini +++ b/tox.ini @@ -21,14 +21,11 @@ envlist = [testenv] commands = pytest --lsof -ra {posargs:testing} passenv = USER USERNAME -setenv= - pluggymaster: _PYTEST_SETUP_SKIP_PLUGGY_DEP=1 deps = hypothesis>=3.5.2 nose mock requests - pluggymaster: git+https://github.com/pytest-dev/pluggy.git@master [testenv:py26] commands = pytest --lsof -ra {posargs:testing} @@ -120,6 +117,24 @@ deps=numpy commands= pytest -ra {posargs:testing/python/approx.py} +[testenv:py27-pluggymaster] +passenv={[testenv]passenv} +commands={[testenv]commands} +setenv= + _PYTEST_SETUP_SKIP_PLUGGY_DEP=1 +deps = + {[testenv]deps} + git+https://github.com/pytest-dev/pluggy.git@master + +[testenv:py35-pluggymaster] +passenv={[testenv]passenv} +commands={[testenv]commands} +setenv= + _PYTEST_SETUP_SKIP_PLUGGY_DEP=1 +deps = + {[testenv]deps} + git+https://github.com/pytest-dev/pluggy.git@master + [testenv:docs] skipsdist = True usedevelop = True