X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=tox.ini;h=7feee92608db59454a303effb97a0bef037e2ff0;hb=0a4567fbdf4096e97f38d36e63c7ec6f14329c5e;hp=5a1dc7135e70c94c0f701360774d7530b721aa28;hpb=13ac225eb6afbd4e81109ead35d0594c53ce888b;p=functest-kubernetes.git diff --git a/tox.ini b/tox.ini index 5a1dc713..7feee926 100644 --- a/tox.ini +++ b/tox.ini @@ -1,10 +1,11 @@ [tox] -envlist = pep8,pylint,yamllint,py27,py35 +envlist = pep8,pylint,yamllint,bashate,py27 [testenv] usedevelop = True deps = -chttps://git.opnfv.org/functest/plain/upper-constraints.txt + -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/rocky} -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt install_command = pip install {opts} {packages} @@ -32,6 +33,16 @@ commands = basepython = python2.7 files = .travis.yml + ci docker commands = yamllint {[testenv:yamllint]files} + +[testenv:py36] +commands = nosetests functest_kubernetes + +[testenv:bashate] +basepython = python2.7 +files = + build.sh +commands = bashate {[testenv:bashate]files}