diff --git a/.travis.yml b/.travis.yml index 965af70..da88c91 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,11 +8,12 @@ python: - pypy - pypy3 env: - - DEP: test - - DEP: no_such_extra - # Cannot yet set this globally pending - # https://github.com/zopefoundation/zope.publisher/issues/49 - ZOPE_INTERFACE_STRICT_IRO: 1 + global: + - ZOPE_INTERFACE_STRICT_IRO: 1 + jobs: + - DEP: test + - DEP: no_such_extra + install: - pip install -U pip setuptools diff --git a/tox.ini b/tox.ini index a6159f1..02c651b 100644 --- a/tox.ini +++ b/tox.ini @@ -7,16 +7,14 @@ commands = zope-testrunner --test-path=src [] extras = test +setenv = + ZOPE_INTERFACE_STRICT_IRO=1 [testenv:minimal] extras = deps = zope.testrunner zope.testing -# Cannot yet set this globally, pending -# https://github.com/zopefoundation/zope.publisher/issues/49 -setenv = - ZOPE_INTERFACE_STRICT_IRO=1 [testenv:coverage] usedevelop = true