diff --git a/tox.ini b/tox.ini index deadf11059..2adc7136f3 100644 --- a/tox.ini +++ b/tox.ini @@ -12,40 +12,46 @@ setenv = LC_ALL=en_US.utf-8 ARGS="-V" deps = git+https://github.com/Qiskit/qiskit-terra - git+https://github.com/Qiskit/qiskit-aer git+https://github.com/Qiskit/qiskit-ignis - -r{toxinidir}/requirements-dev.txt + git+https://github.com/Qiskit/qiskit-aer + git+https://github.com/Qiskit/qiskit-ibmq-provider commands = + pip install -c constraints.txt -r{toxinidir}/requirements-dev.txt stestr run {posargs} [testenv:lint] basepython = python3 -deps = pyenchant - git+https://github.com/Qiskit/qiskit-terra - git+https://github.com/Qiskit/qiskit-aer +deps = git+https://github.com/Qiskit/qiskit-terra git+https://github.com/Qiskit/qiskit-ignis - -r{toxinidir}/requirements-dev.txt + git+https://github.com/Qiskit/qiskit-aer + git+https://github.com/Qiskit/qiskit-ibmq-provider commands = - pycodestyle --max-line-length=100 --exclude=gauopen qiskit/ml qiskit/aqua qiskit/chemistry qiskit/finance qiskit/optimization test tools - pylint -rn --ignore=gauopen qiskit/ml qiskit/aqua qiskit/chemistry qiskit/finance qiskit/optimization test tools + pip install -c constraints.txt -r{toxinidir}/requirements-dev.txt + pycodestyle --max-line-length=100 --exclude=gauopen qiskit/aqua qiskit/chemistry qiskit/finance qiskit/ml qiskit/optimization test tools + pylint -rn --ignore=gauopen qiskit/aqua qiskit/chemistry qiskit/finance qiskit/ml qiskit/optimization test tools + python3 {toxinidir}/tools/check_copyright_year.py [testenv:coverage] basepython = python3 setenv = {[testenv]setenv} PYTHON=coverage3 run --source qiskit/aqua,qiskit/chemistry,qiskit/finance,qiskit/ml,qiskit/optimization --omit */gauopen/* --parallel-mode +deps = git+https://github.com/Qiskit/qiskit-terra + git+https://github.com/Qiskit/qiskit-ignis + git+https://github.com/Qiskit/qiskit-aer + git+https://github.com/Qiskit/qiskit-ibmq-provider commands = + pip install -c constraints.txt -r{toxinidir}/requirements-dev.txt stestr run {posargs} coverage3 combine coverage3 report [testenv:docs] basepython = python3 -deps = - git+https://github.com/Qiskit/qiskit-terra - git+https://github.com/Qiskit/qiskit-aer - git+https://github.com/Qiskit/qiskit-ignis - -r{toxinidir}/requirements-dev.txt - +deps = git+https://github.com/Qiskit/qiskit-terra + git+https://github.com/Qiskit/qiskit-ignis + git+https://github.com/Qiskit/qiskit-aer + git+https://github.com/Qiskit/qiskit-ibmq-provider commands = + pip install -c constraints.txt -r{toxinidir}/requirements-dev.txt sphinx-build -b html -W {posargs} docs/ docs/_build/html