diff options
-rw-r--r-- | tox.ini | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -22,3 +22,25 @@ commands = pip install -e "git+https://github.com/loadtheaccumulator/glusto.git# pip install -e {toxinidir}/glustolibs-misc flake8 {toxinidir} pylint -j 4 --rcfile={toxinidir}/.pylintrc {toxinidir}/tests/functional --ignore=nfs_ganesha + +[testenv:functional] +basepython = python2.7 +commands = + python -m pip install --upgrade pip>=9.0.0 setuptools wheel + pip install \ + git+git://github.com/loadtheaccumulator/glusto.git \ + --editable=file:///{toxinidir}/glustolibs-gluster \ + --editable=file:///{toxinidir}/glustolibs-io \ + --editable=file:///{toxinidir}/glustolibs-misc + {posargs:bash -c "echo 'No commands have been specified. Exiting.'; exit 1"} + +[testenv:functional3] +basepython = python3 +commands = + python3 -m pip install --upgrade pip>=9.0.0 setuptools wheel + pip3 install \ + git+git://github.com/loadtheaccumulator/glusto.git@python3_port4 \ + --editable=file:///{toxinidir}/glustolibs-gluster \ + --editable=file:///{toxinidir}/glustolibs-io \ + --editable=file:///{toxinidir}/glustolibs-misc + {posargs:bash -c "echo 'No commands have been specified. Exiting.'; exit 1"} |