Signed-off-by: Zack Cerza <zack@redhat.com>
envlist = docs, py27, py27-integration, flake8
[testenv:py27]
+install_command = pip install --upgrade {opts} {packages}
passenv = HOME
sitepackages=True
deps=
commands=py.test --cov=teuthology --cov-report=term -v {posargs:teuthology scripts}
[testenv:py27-integration]
+install_command = pip install --upgrade {opts} {packages}
passenv = HOME
sitepackages=True
deps=
basepython=python2.7
[testenv:flake8]
+install_command = pip install --upgrade {opts} {packages}
deps=
flake8
commands=flake8 --select=F,E9 {posargs:teuthology scripts}
[testenv:docs]
+install_command = pip install --upgrade {opts} {packages}
basepython=python
changedir=docs
deps=sphinx