diff options
author | Krishnaram Karthick Ramdoss <kramdoss@redhat.com> | 2018-05-02 11:47:40 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.host.prod.eng.bos.redhat.com> | 2018-05-02 11:47:40 +0000 |
commit | 2c9eb6ec8c283d53e332f55a60283609dd370c04 (patch) | |
tree | 6eb36c43765e687ffcaf831d503673196308011e | |
parent | 593dd81180fa07d3338367f5e0d82f016ec122dd (diff) | |
parent | 2a8bdbdbdf95f0ec5720d202b646e33dbb85f713 (diff) |
Merge "Add 'functional' venv to tox config"
-rw-r--r-- | .gitignore | 7 | ||||
-rw-r--r-- | tox.ini | 15 |
2 files changed, 20 insertions, 2 deletions
@@ -7,10 +7,15 @@ # Linux swap files range from .saa to .swp *.s[a-w][a-p] -# Python bytecode files +# Python bytecode and other related temp files *.pyc *.pyo +*egg-info # Development environment files .project .pydevproject + +# Cache files +.cache +.pytest_cache @@ -6,13 +6,26 @@ envlist = pep8 [testenv] basepython = python2.7 setenv = VIRTUAL_ENV={envdir} -whitelist_externals = find +whitelist_externals = * commands = find . -type f -name "*.py[c|o]" -delete [testenv:pep8] deps = -r{toxinidir}/test-requirements.txt commands = flake8 {posargs} +[testenv:functional] +deps = + rtyaml + ddt + git+git://github.com/loadtheaccumulator/glusto.git + git+git://github.com/gluster/glusto-tests.git#egg=glustolibs-gluster&subdirectory=glustolibs-gluster + git+git://github.com/gluster/glusto-tests.git#egg=glustolibs-io&subdirectory=glustolibs-io + git+git://github.com/gluster/glusto-tests.git#egg=glustolibs-misc&subdirectory=glustolibs-misc + --editable=file:///{toxinidir}/cns-libs +commands = + find . -type f -name "*.py[c|o]" -delete + {posargs:bash -c "echo 'No commands have been specified. Exiting.'; exit 1"} + [testenv:venv] commands = {posargs} |