test: pass PYTEST_ADDOPTS to pytest

This commit is contained in:
Takeshi KOMIYA
2018-02-04 01:57:10 +09:00
parent 499e3bc852
commit 3430610a0f
2 changed files with 4 additions and 4 deletions

View File

@@ -5,7 +5,7 @@ envlist = docs,flake8,mypy,coverage,py{27,34,35,36,py},du{11,12,13,14}
[testenv]
usedevelop = True
passenv =
https_proxy http_proxy no_proxy PERL PERL5LIB
https_proxy http_proxy no_proxy PERL PERL5LIB PYTEST_ADDOPTS
description =
py{27,34,35,36,py}: Run unit tests against {envname}.
du{11,12,13,14}: Run unit tests with the given version of docutils.